Home > Smtp Error > Smtp Error Could Not Authenticate Phpmailer

Smtp Error Could Not Authenticate Phpmailer

Contents

Closed (fixed)Project:SMTP Authentication SupportVersion:7.x-1.0Component:CodePriority:MinorCategory:Support requestAssigned:UnassignedReporter:agdguillenCreated:November 23, 2013 - 18:55Updated:May 10, 2016 - 14:12 Log in or register to update this issue Jump to:Most recent comment I make a fresh install of Go to your account 2. Join today Download & Extend Drupal Core Distributions Modules Themes SMTP Authentication SupportIssues SMTP Error: Could not connect to SMTP host. If you're still having problems, visit http://www.google.com/accounts/DisplayUnlockCaptcha and sign in with your Gmail username and password. http://phabletkeyboards.com/smtp-error/smtp-error-could-not-authenticate-phpmailer-gmail.php

share|improve this answer answered Aug 8 '15 at 11:45 ChrisG 5,7532722 Check this support.google.com/mail/answer/1173270?hl=en –ChrisG Aug 8 '15 at 11:46 add a comment| up vote 1 down vote I commented December 8, 2015 at 8:34pm Priority: Critical » Minor Status: Active » Fixed Log in or register to post comments Comment #14 December 22, 2015 at 8:34pm Status: Fixed » Is there maybe something in code that has to be changed? OpenSSL is a standard on Linux but not for windows, check google for "openssl for windows" Jim Great information. http://stackoverflow.com/questions/3949824/smtp-error-could-not-authenticate-in-phpmailer

Smtp Error Could Not Authenticate Wordpress

If you are not in control of your own firewall or DNS, you probably need to raise a support ticket with your ISP to fix this (it's very common for them Failing that, you can allow insecure connections via the SMTPOptions property introduced in PHPMailer 5.2.10 (it's possible to do this by subclassing the SMTP class in earlier versions), though this is Not sure what else to try at this point, and forget about trying to contact Gmail support to ask. Terms Privacy Opt Out Choices Advertise Get latest updates about Open Source Projects, Conferences and News.

My password has special characters for and if you supply the password without escaping the special characters the error will continue to show. i dont install any mail server or anything other than wamp server 2.1 and internet. If port 587 doesn't work, you can try port 465 or port 25, and use whichever one works - though bear in mind that port 25 often doesn't support encryption (see Language String Failed To Load: Tls JPhpMailer extend class.PhpMailer.php $mailer = new JPhpMailer(true); $mailer->IsSMTP(); $mailer->Mailer = "smtp"; //$mailer->SMTPSecure == 'tls'; $mailer->Host = 'ssl://smtp.gmail.com'; $mailer->Port = '465'; $mailer->SMTPAuth = true; //$mailer->SMTPSecure = true; $mailer->Username = '[email protected]'; $mailer->Password =

Browse other questions tagged php ajax phpmailer or ask your own question. Do you know why this happen and how to figure it out. Signup for a free account which is good for the first 25.000 mail messages and 10.000 contacts every month. http://stackoverflow.com/questions/14233702/phpmailer-smtp-error-could-not-authenticate-using-gmail-as-smtp-server Given that with a small character Word/expression for a German "Ausflugscafé" - a cafe mainly catering to people taking a walk splitting a file with lines separated by tabs into two

Not the answer you're looking for? Phpmailer Gmail Smtp Connect() Failed Now you will see the Allow less secure apps. I test it with my laptop with apache and php. The limits for that are outlined here: https://www.google.com/support/a/bin/answer.py?hl=en&answer=166852 You'll notice on the bottom this line of text: If you have a local mail server, connect to Google Apps mail servers using

Smtp Error: Could Not Authenticate. Drupal

Strange that no one has reported this bug during the last 2 or 3 years Michal today gmail works : tls at port 465 devon I tried using this and had Am I missing something? Smtp Error Could Not Authenticate Wordpress Google does this a lot - see below for info about their "Allow less secure apps" setting. Smtp Error: Password Command Failed Not the answer you're looking for?

In my experience most problems people have using the script in this tutorial are NOT related to PHP 😉 Jatin I really appreciate your method of code (as you mentioned fall-back weblink Olaf Lederer Hi Gunaseelan, actually you can't do this. Some SMTP authentication schemes do add a minimal level of security (sending short hashes rather than clear text), but these provide only minimal protection, and so most servers do not allow Do you know if that's the case? Email Sending Failed Smtp Error Could Not Authenticate

Olaf Lederer Hi Devon, do you use a Gmail or Google apps account? Olaf Hi Floris, thanks for your suggestion! Log in or register to post comments Comment #2 agdguillen CreditAttribution: agdguillen commented December 3, 2013 at 9:05pm I also try use my smtp hosting and i get the same error. http://phabletkeyboards.com/smtp-error/smtp-error-could-not-connect-to-smtp-host-phpmailer-yahoo.php Olaf I never tried to use Gmail's SMTP server within a web application.

Mailer Error: SMTP Error: Could not authenticate. 3. $mail->Host = "smtpout.secureserver.net"; $mail->Port = 80; $mail->SMTPAuth = true; $mail->SMTPSecure = ''; SMTP -> ERROR: Password not accepted from server: 535 Authentication Failed Smtp Error Could Not Authenticate. Godaddy The issue tracker here is intended for actual bugs in PHPMailer, not problems with your server. It's been very helpful.

Related Posts How-to create a PHP Password GeneratorDo you need a PHP password generator function for your user registration application or do… PHP Mail Scripts using SMTP transport, a guide for

SMTP server error: VXNlcm5hbWU6 The weird thing is that if I try to send it again, IT WORKS! best regards Olaf Hi Ron, ask your hosting provider or maybe you need to do this by yourself (if this server is your own one). So go fix your network, then try again. Smtp -> Error: Password Not Accepted From Server: 535 Incorrect Authentication Data share|improve this answer answered May 31 '12 at 1:27 Jeremy W 3,2311034 Hi Jeremy.

SMTP connect() failed. All you need to do is require the composer autoloader: require './vendor/autoload.php'; It's particularly important if you're using XOAUTH2 authentication since it requires dependent classes that are satisfied by composer. Set this option by including a line like this in your script: $mail->SMTPDebug = 2; The output format will adapt itself to command-line or HTML output, though you can override this http://phabletkeyboards.com/smtp-error/smtp-error-in-phpmailer.php If someone knows what is the solution I´ll really appreciate it!

Why using GMail for sending mail messages? It can also be caused by not having the openssl extension loaded (See encryption notes below). Please don't fill out this field. Click Continue.

Late recommendation letter What is Epsilon Convergence in Probability? Where did I find these numbers? You may find it easier to switch to a more enlightened hosting provider. Here's a link: pset7/password_mail.php?token=a"; if(!$mail->send()) { apologize("Something went wrong with sending the link"); } else { redirect("index.php"); } Edit: Just leaving this here incase someone else has a similar problem with

Tested and Working. I wonder now if it would have worked without the relay using the IP for smtp.gmail.com in the first place... Also, if I use the gmail mail server it works fine in both, IIS and Linux. Using PHPMailer's own autoloader Not so long ago, PHPMailer changed the way that it loaded classes so that it was more compatible with composer, many frameworks, and the PHP PSR-0 autoloading

Olaf Check the information from above: Download a recent version of PHPMailer (I used the version 5.02) ZTH Thanks, It can run on localhost ? You said the following before you showed how to layout the function: Use the following function to send mail messages (add the function in one of your included files): by included Is it unethical of me and can I get in trouble if a professor passes me based on an oral exam without attending class? Base your code on these, not some ancient example from 2003.

Not the answer you're looking for? postfix). Jim Thanks so much for the reply. This is particularly likely on RedHat / Fedora / Centos.