问题
I want to use Amazon's Simple Email Service to send emails.
I verified my domain as well as the email address I want to send from.
For both it says verified
.
Now when I use the Send Test Email from the AWS Console to send a test email to myemail@outlook.com, I only get the error message:
Email address is not verified. The following identities failed the check in region EU-WEST-1: myemail@outlook.com (Request ID: 9fb78de1-2673-11e6-bbbc-5f819fabe4f4)
Now it strikes me because it says myemail@outlook.com was not verified but I tried to send from admin@mydomain.com. The Send Test Email Dialog even forces you to use an email which already is registered.
How can this issue be resolved? Did I miss anything?
回答1:
When your SES account is in "sandbox" mode, you can:
- Only send from verified domains and email addressed, and
- Only send to verified domains and email addresses
In order to send to anyone else, you must move your account out of sandbox mode by contacting AWS support and requesting it:
https://docs.aws.amazon.com/console/ses/sandbox
回答2:
If the email is already verified and you're out of the SES Sandbox, check that you've the correct AWS region for the SMTP server. I was trying to connect to email-smtp.eu-west-1.amazonaws.com
when my SMTP credential was for the email-smtp.us-east-1.amazonaws.com
server.
来源:https://stackoverflow.com/questions/37528301/send-test-email-fails-with-email-address-is-not-verified