Test Email failing – SMTP Error Username and Password not accepted
-
When I send a test email it fails. The connection is good and I have authenticated with Google but I get the follow error message:
SMTP Error: Could not authenticate.
CLIENT -> SERVER: QUIT
SMTP -> get_lines(): $data is “”
SMTP -> get_lines(): $str is “535-5.7.8 Username and Password not accepted. Learn more at”
SMTP -> get_lines(): $data is “535-5.7.8 Username and Password not accepted. Learn more at”
SMTP -> get_lines(): $str is “535 5.7.8 https://support.google.com/mail/answer/14257 l10sm10472889ote.19 – gsmtp”
SERVER -> CLIENT: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/answer/14257 l10sm10472889ote.19 – gsmtp
SMTP ERROR: QUIT command failed: 535-5.7.8 Username and Password not accepted. Learn more at535 5.7.8 https://support.google.com/mail/answer/14257 l10sm10472889ote.19 – gsmtp
Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/TroubleshootingAny ideas on how to resolve this?
Thanks,
Roger
- The topic ‘Test Email failing – SMTP Error Username and Password not accepted’ is closed to new replies.