This might be a simple question but I’ve searched and searched and can’t find an answer.
I’d like to log the message ID for each email sent so I can more accurately do bounce handling.
I’m using the AWS PHP SDK to send my emails. How can I get the message ID after I send an email?
Found the answer…
I’m able to retrieve the MessageID from the response object I get upon sending an email with SES.
$response->body->SendEmailResult->MessageId