我正在使用phpmailer发送带有来自Amazon SES凭据的SMTP邮件
我得到以下错误。
我在SES上的生产访问已启用。
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.
答案 0 :(得分:18)
忽略了文档。需要同时验证沙箱版本和启用“生产访问”时的发件人地址。
答案 1 :(得分:12)
您正尝试从尚未通过Amazon SES验证的电子邮件地址或域发送电子邮件。 如果您还没有生产权限,则还需要验证收件人地址。
来自:http://docs.aws.amazon.com/ses/latest/DeveloperGuide/smtp-response-codes.html