Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Amazon SES - Email address not verified error - Production access enabled

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.
like image 650
user2015144 Avatar asked Nov 27 '22 09:11

user2015144


2 Answers

Overlooked the documentation. The From address need to be verified both for the sandbox version and while "production access" is enabled.

like image 54
user2015144 Avatar answered Dec 26 '22 09:12

user2015144


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

like image 43
Dirk Avatar answered Dec 26 '22 11:12

Dirk