I have a Java Lambda (RequestStreamHandler
) that receives SES messages, but I'm having a tough time figuring-out where the "content"
is.
The record's eventSource
is aws:ses
, there is no "content"
attribute per the documentation. The simple text message
I've tried with & without SNS as the delivery, no difference.
I've also added an S3 rule to the Rule Set that is identical to the Lambda rule and S3 is receiving the entire message with content.
Thanks
I believe I have this figured-out, if any of the following is incorrect please let me know.
message
tagmessage
tag is escaped json which is a SNS Event with a content
tagcontent
tag is a raw RFC 2045 message
It is counter-intuitive that a Lambda cannot access the email content directly from a SES Event, but that appears to be the case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With