I’ve just set up PHP list, and I can send messages via the host’s MTA. So, I think it’s configured correctly.
But, my SMTP attempts have failed. I tested it with my Amazon SES credentials and got this error message:
SMTP ERROR: Password command failed: 535 Authentication Credentials Invalid
To see if it was an Amazon-specific issue, I tested it with my Gmail credentials and got a similar message:
SMTP ERROR: Password command failed: 535-5.7.8 Username and Password not accepted.
Here’s the configuration I’ve used:
define('PHPMAILERHOST', 'email-smtp.us-east-1.amazonaws.com');
$phpmailer_smtpuser = 'xuserx';
$phpmailer_smtppassword = 'xpassx';
define('PHPMAILERPORT',465);
define("PHPMAILER_SECURE",'ssl');
define('PHPMAILER_SMTP_DEBUG', 1);
I know my username and passwords are correct, so is there a reason I’d get credential errors for both Amazon SES and Gmail SMTP configurations?
Thanks!