如何使用 AWS SES 向未经验证的电子邮件地址发送电子邮件
问题描述:
我正在开发 PHP 应用程序,该应用程序在注册后使用 Amazon SES(简单电子邮件服务)向注册的电子邮件地址发送一封激活邮件.
I am developing PHP application that, after sign-up, sends an activation mail to the registered email address using Amazon SES (Simple Email Service).
但 SES 仅向经过验证的用户发送电子邮件.
But SES is only sending emails to verified users.
我怎样才能将激活链接发送到任何未经验证的电子邮件地址?
How can I send the activation link to any non-verified email address, too?
答
在沙盒模式下运行时,您只能发送给经过验证的用户 - 一旦您的帐户被激活,您就可以发送给任何人.
While running in sandbox mode you can only send to verified users - once your account has been activated, you can send to anyone.
摆脱沙盒:
http://docs.aws.amazon.com/ses/latest/DeveloperGuide/request-production-access.html