2
votes

I sent a few emails using Amazon SES and I have their Message IDs (as generated by Amazon SES).

Given these Message IDs, I would like to query the Amazon SES API and get the details of the email I sent (i.e., email body, subject, from, to).

How do I go about doing so?

If it helps, I am using the boto3 library for Python.

Thanks

1
To my knowledge, SES does not store this information after the email is successfully sent.ceejayoz
@ceejayoz is correct, that message is not stored by SES.Mark B

1 Answers

1
votes

Amazon SES does not store this data, at least not in any way accessible to users (I'd imagine they have an internal audit trail for spam/abuse cases, but it's not exposed in the API).

You'll need to store the data yourself, or use a different third-party sender.