SES and Pinpoint query

0

My customer is using SES’s SMTP capability to allow a solution to send emails. Hence the solution points to SES’s SMTP hostname, port and credentials. This works fine.

They are looking to add open/tracking to these emails via Pinpoint (ie writes open, bounce events to Kinesis), and they want to setup a Pinpoint project, and utilize an SMTP interface for that too.

Question is – can they re-use the existing IAM account that they have setup for SES, or do they need to create a new one in Pinpoint, ie go into Pinpoint -> select the project -> email -> Sending methods -> Generate SMTP credentials?

Thank you

AWS
gefragt vor 5 Jahren347 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Your customer can continue to use their existing endpoint and IAM user / SMTP credentials setup after setting up the rest of their Pinpoint settings. In fact, the Pinpoint Generate SMTP credentials button redirects to SES's SMTP credentials page, and if you create one IAM user / SMTP credential pair through both methods you'll notice that both have the same permissions attached to them

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "ses:SendRawEmail",
            "Resource": "*"
        }
    ]
}

As an aside, for adding open / click tracking for emails sent over SMTP, the customer needs to include an additional email header called X-SES-CONFIGURATION-SET with a value a configuration set for which open & click tracking are enabled. Code samples for this are available here .

AWS
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen