Home > Smtp Error > Phpmailer Smtp Error Could Not Authenticate

Phpmailer Smtp Error Could Not Authenticate


Thanks I get this error - SMTP -> ERROR: Failed to connect to server: Connection timed out (110) The following From address failed: [emailprotected] : Called Mail() without being connected Olaf Here are the settings from Thunderbird: Server name: mail.exampleserver.com Port: 587 Username: [email protected] Secure Authentication: No Connection Security: STARTTLS I've compared these with the server at my last project where I Do you have any experience about the "reach the inbox success" for the Zend SMTP mail class? You saved me from days of agony. http://iipseconline.com/smtp-error/phpmailer-exchange-smtp-error-could-not-authenticate.html

but i dnt knw y isSMTP is still giving some error, which i dont understand at all ERROR is: 2015-08-04 01:59:54 CLIENT -> SERVER: EHLO mysite.com 2015-08-04 01:59:54 CLIENT -> SERVER: You may want to check the logs for any error messages. Thanks Regards Jai Comments are closed. asked 3 years ago viewed 28241 times active 11 days ago Visit Chat Linked 16 “Password not accepted from server: 535 Incorrect authentication data” when sending with GMail and phpMailer 0 Discover More

Smtp Error: Could Not Authenticate. Drupal

Thanks in Advance! You have set it as server settings in you class configuration. What's difference between these two sentences? Please help Andy Olaf Hello Andy, first you can try to get some more debugging information while setting this property: $mail->SMTPDebug = 1 Andy Barratt Problem solved.

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 Any help on how i could fix it? The error output may include a link to https://support.google.com/mail/bin/answer.py?answer=78754, which gives a list of possible remedies. Language String Failed To Load: Tls Use the login for your Google Apps mail account if you have one. 12 define('GUSER', [emailprotected]'); // GMail usernamedefine('GPWD', 'password'); // GMail password Use the following function to send the e-mail

Apex variable map values passed to auto-launched flow not recognized by flow How to make your worlds revolutions feel realistic? Hosting provider tells everything is ok, also firewall (hope they know what they say). I had installed PHPMailer version 1.72 which is not prepared to manage SSL connections. anchor You seem to have CSS turned off.

then just reboot the system by giving reboot Now the mail goes without any hassle. Smtp Error Could Not Authenticate. Godaddy thanx in advance. SMTPDebug = 3; // Enable verbose debug output $mail->isSMTP(); // Set mailer to use SMTP $mail->Host = 'smtp.gmail.com'; // Specify main Like other people told before, a Gmail account doesn't work anymore for SMTP mail on your website. Olaf Lederer Hi Gunaseelan, actually you can't do this.

Smtp Error Could Not Authenticate Wordpress

Only the single quote itself would have to be escaped. –Fernando Basso Sep 11 '15 at 14:15 add a comment| up vote 3 down vote For me I had a special In your php.ini file you should have a setting for sendmail_path, and that program must exist. Smtp Error: Could Not Authenticate. Drupal My password has special characters for and if you supply the password without escaping the special characters the error will continue to show. Smtp Error: Password Command Failed But it works fine with Ubuntu.

Messages will be sent to your gmail address, but you really need to read the docs. http://iipseconline.com/smtp-error/php-mail-smtp-error-could-not-authenticate.html Reportedly, changing this setting may take an hour or more to take effect, so don't expect an immediate fix. It's possible that an exception is being thrown and you can see the error that is causing it. Checked server ports and address, i tried login with the no-reply email on server and works normal php email phpmailer smtp-auth share|improve this question edited Oct 17 '15 at 14:57 asked Email Sending Failed Smtp Error Could Not Authenticate

If you have any issues with these examples, just let me know. Download a recent version of PHPMailer (I'm using the version 5.02) Check that your web hosting provider has opened the port 465 (TCP out), if not ask him to open that port Include Every place that PHPMailer accepts an email address property, it expects an RFC821-format address, not an RFC822 one, for example [email protected], not Joe User . weblink but got some issues. SMTPDebug = 3; // Enable

Can u plz help me… it has been three days since am stuck in this… thanks Olaf Hi Hunain, I think your problem is related to "Windows", SSL is not installed Phpmailer Gmail Smtp Connect() Failed Olaf I never tried to use Gmail's SMTP server within a web application. You've made up apparently random settings and you're wondering why it doesn't work.

less secure apps access) with no luck.

I'm Not a "Native-Speaker" php phpmailer share|improve this question edited Aug 1 '12 at 13:58 hakre 134k26216390 asked Oct 16 '10 at 16:57 Alejandro Echeverri 3822722 This is strange, Now you will see the Allow less secure apps. Documentation on how to set it up can be found on this wiki page. Smtp -> Error: Password Not Accepted From Server: 535 Incorrect Authentication Data thanks Olaf..

Mail error: SMTP Error: Could not connect to SMTP host. Reload to refresh your session. Message could not be sent.Mailer Error: Could not instantiate mail function. check over here I decided to take a look at the documentation again, see what I was missing.

Do I need to do this? It sounds like you really don't know what you're doing, so read the docs not only for PHPMailer, but for PHP as well. Mozammelctgmirbd commented Dec 27, 2015 Dear Brother i forget before code of sendmail.inc sendmail.inc i change flowing this [sendmail] smtp_server=smtp.gmail.com smtp_port=465 smtp_ssl=auto error_logfile=error.log [email protected] auth_password= PHPMailer member Synchro commented Dec 27, Never user the mail class from them because I like phpmailer a lot.

You need a Google Apps account or beter use some commercial SMTP provider like SendGrid. Use the debugging option to see where it breaks. i cant find the fix. 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

I am using laptop with internet connection(via data card). Ltd. Can a nuclear detonation on Moon destroy life on Earth? When you try to send an email from the SMTP configuration page, does it work?

Read what it says. What is the main spoken language in Kiev: Ukrainian or Russian? Most of the tests described in the guide require you to SSH into your server and run the commands from there. Tor Okay, it seems the reply-to is getting set correctly.

smtp usernamedefine('SMTPPWD', 'password'); // sec.