emuigai
emuigai

Reputation: 99

How to retrieve amazon ses email with message id

I have the message id, how can I use it to get the email from Amazon ses? I am using php and I am already receiving the notifications from my lambda function.

Upvotes: 1

Views: 1891

Answers (2)

Asaf
Asaf

Reputation: 1261

You can use SNS instead of Lambda function, and in the SNS there is the email body and all the needed information

Upvotes: 0

emuigai
emuigai

Reputation: 99

I found the solution. I stored the email to amazon s3 using s3 as an option when email is received. S3 stores the file with the same id. I retrieved and parsed the email contents using enter link description here

Upvotes: 1

Related Questions