8

I am trying to send email message to a specific email address via the aws pinpoint. My from email address is verified. However, whenever I try to send the email it gives me an error "Failed to submit email message to ". I don't understand where am I going wrong with this.

4

2 回答 2

3

@Krishna gave the right clue, however to be precise, all of the following must be true:

  1. Your From email address is verified in Amazon Pinpoint/SES.
  2. Either your To email address(es) is verified, OR you have requested Sending Limit Increase specifically for Amazon Pinpoint, not just SES.

In my case it was problem no. 2, I have increased my sending limit for SES but not Pinpoint yet. Amazon treats them somewhat differently, however the error message it gave me was totally undecipherable:

Message not sent: We weren't able to send your email message to someemail@gmail.com. Request Id 982 : Failed to send message.

Specifically, check the Pinpoint project's right sidebar here:

Pinpoint project

于 2018-10-26T14:46:21.320 回答
1

By default Pinpoint provides an sandbox environment.

In order to send emails you need to white-list your from email address as well. ( i.e. got to SES and verify the from email id as well)

You should them be able to send emails via Pinpoint.

The receiver should acknowledge to terms and condition that AWS can send automated emails.

于 2017-12-20T08:22:14.340 回答