I am using phpmailer to send SMTP mail with credentials from Amazon SES.
I get the below error.
My production access on SES is enabled.
SMTP -> FROM SERVER:220 email-smtp.amazonaws.com ESMTP SimpleEmailService-376766033
SMTP -> FROM SERVER: 250-email-smtp.amazonaws.com 250-8BITMIME 250-SIZE 10485760 250-AUTH PLAIN LOGIN 250 Ok
SMTP -> FROM SERVER:250 Ok
SMTP -> FROM SERVER:250 Ok
SMTP -> FROM SERVER:354 End data with .
SMTP -> FROM SERVER:554 Message rejected: Email address is not verified.
SMTP -> ERROR: DATA not accepted from server: 554 Message rejected: Email address is not verified.
SMTP Error: Data not accepted. Mailer Error: SMTP Error: Data not accepted.
SMTP server error: Message rejected: Email address is not verified.
Overlooked the documentation. The From address need to be verified both for the sandbox version and while "production access" is enabled.
You are trying to send email from an email address or domain that you have not verified with Amazon SES. If you do not yet have production access, you also need to verify the recipient address.
From: http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-response-codes.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With