Home > Smtp Error > Phpmailerexception Smtp Error Could Not Authenticate

Phpmailerexception Smtp Error Could Not Authenticate

Contents

Try the SMTP service provided by SendGrid (instead of Gmail) Steve Thanks a lot for this post. Mail error: SMTP Error: Could not connect to SMTP host. Not sure what else to try at this point, and forget about trying to contact Gmail support to ask. Please let me know if someone find a solution. his comment is here

System access configuration Need to allow access for firewall or network to send mail for linux, windows and mac. Log in or register to post comments Comment #4 zibby72 CreditAttribution: zibby72 commented September 9, 2011 at 1:07pm same problem here. "enable debugging" does not spit out any errors. If they won't fix it, you need to replace your ISP. I am often having problems with my shared host being blacklisted through genuine email distribution scripts on the accounts within it and this script looks like an excellent way around that. http://stackoverflow.com/questions/3949824/smtp-error-could-not-authenticate-in-phpmailer

Smtp Error Could Not Authenticate. Phpmailer

Can users who come to my site login using their gmail username and password on my website, and send emails without leaving the page? If nothing helps, try this on Windows 7. Has anyone had issues with trying to send larger quantities (say 200) emails through Gmail's SMTP server and having it only send 5 or 10 and then display errors for "Daily It can also be caused by not having the openssl extension loaded (See encryption notes below).

Does the code terminate? I developed a form using PHP Mailer. Do you know why this happen and how to figure it out. Smtp Error: Password Command Failed If you don't do this, you're likely to see errors like this: Fatal error: Class 'League\OAuth2\Client\Provider\Google' not found in PHPMailer/get_oauth_token.php on line 24 To fix this either configure composer as described,

Search the questions for the error message you're seeing before posting a question. StackOverflow - there are a ton of PHPMailer questions on there, the vast majority of which could be fixed by reading this page! Carrying Metal gifts to USA (elephant, eagle & peacock) for my friends Movie about a board-game that asks the players touchy questions Why don't cameras offer more than 3 colour channels? https://vanillaforums.org/discussion/18473/solved-exception-phpmailerexception-smtp-error-could-not-authenticate I used my Google Apps account while testing the code and never had a problem with the script and the Google mail servers.

It was working before the move so im guessing its a server issue as well. #3 durangod, Aug 15, 2014 cPanelMichael Forums Analyst Staff Member Joined: Apr 11, 2011 Messages: Language String Failed To Load: Tls If any of the above checks fail, PHPMailer will not work either, and usually there's nothing that PHPMailer can do about it. Log in or register to post comments Comment #13 vishal.sirsodiya CreditAttribution: vishal.sirsodiya commented May 4, 2016 at 10:10am Hi makokis, #8 As per your suggestion, I have configured SMTP module. Log in or register to post comments Comment #17 feugana1 CreditAttribution: feugana1 commented October 13, 2012 at 10:13am Hello I installed smtp Authentification Module and had done configuration by when i

Smtp Error: Could Not Authenticate. Drupal

Of course you can extend the code to handle HTML messages and attachments etc. https://www.drupal.org/node/1027062 A test e-mail has been sent to [email protected] Smtp Error Could Not Authenticate. Phpmailer I can elaborate on request if someone lacks some joke sources. Smtp Error Could Not Authenticate Wordpress If you see that happen, you should check the state of your certificates or verification settings.

The settings are as follows: 1: show client -> server messages only. this content If you run into problems with the sending limit of Gmail, don't try to fix it and use Sendgrid or some other SMTP provider. current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. Notice that the verify return code is 0, which indicates successful verification. Email Sending Failed Smtp Error Could Not Authenticate

Requirements You need for this PHPMailer code example a PHP5 enabled web host (I did tests only on Linux), the port 465 need to be open and of course you need PHP version is 5.3.1. Note that cPanel/WHM notifications are typically related to the cPanel/WHM software itself. weblink The "reply-to" option is okay for most e-mail clients except Gmail neelam when i connected with above code in php i am getting this error: Warning: fsockopen() [function.fsockopen]: unable to connect

SMTP module is actived. Smtp Error Could Not Authenticate. Godaddy I toyed with google Xoauth for SMTP mails on my site, but all I got was port errors and Zend errors for the past two days. I can connect now.

DDoS ignorant newbie question: Why not block originating IP addresses?

Why using GMail for sending mail messages? I am personally not that familiar with telnet, just never needed it. If you have any issues with these examples, just let me know. Smtp -> Error: Password Not Accepted From Server: 535 Incorrect Authentication Data Check also with your hosting provider that these ports are open.

If you own a domain name, you can register for a Google Apps account or check below the tutorial update about an alternative SMTP service! Following command set permission for linux. 1) iptables -I OUTPUT -p tcp --dport 465 -j ACCEPT 2) iptables -I OUTPUT -p tcp --dport 587 -j ACCEPT SMTP Authentication Support Set your here is what is so funny what is actually crazy is that its been what about a week now, and i had no clue my whmcs mail was not being sent. http://iipseconline.com/smtp-error/php-mail-smtp-error-could-not-authenticate.html hit continue twice. –enko Apr 14 '14 at 22:10 add a comment| up vote 6 down vote I received the same error and in mycase it was the password.

No, create an account now. Just not sure how to get past this reduced quota issue. I decided to take a look at the documentation again, see what I was missing. Check your DNS is working by using the dig tool (from the dnsutils package on Debian/Ubuntu): dig +short smtp.gmail.com You will get something like this if your DNS is working: gmail-smtp-msa.l.google.com.

Please, any help would be appreciated. Sometimes this behaviour is not quite so apparent; sometimes encryption failures may appear as the client issuing a QUIT immediately after trying to do a STARTTLS. Jai Prakash Hi I am learning joomla3.1.5 at this moment. 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.

BTW, you Gmail account can get blocked if you're not using this script the right way: then you have to use e-mail verification to be able to use your gmail account Log in or register to post comments Comment #3 agdguillen CreditAttribution: agdguillen commented December 3, 2013 at 9:06pm Priority: Major ยป Critical Log in or register to post comments Comment #4 I found several articles and PHPMailer tutorials, but a lot of them didn't worked for me. Using encryption There's no doubt that you should use encryption at every opportunity, otherwise you're inviting all kinds of unpleasant possibilities for phishing, identity theft etc.

If the SSL config of the server you are connecting to is not correct, you will get an error like this: Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.