1 Answer
- Newest
- Most votes
- Most comments
0
In the Lambda console it will show (in the function overview) which services are allowed to invoke it. Does SES show there? There are instructions in the documention for how to give permission for SES to invoke Lambda.
Otherwise, check the rule in the "Email receiving" part of the SES console to make sure that the correct Lambda function is selected.
Another way to do this is to have SES deliver the mail to S3; then use a trigger from S3 to Lambda. It's an extra step but it gets around the Lambda payload limits for large emails.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
i created a rule in aws ses to store the incoming email to s3 bucket with appropriate name and permissions and also set up sns.When i sent an email containing spreadsheet attachment to aws ses email sns notification was stored in s3,but not the spreadsheet.please can u help the resolve the issue
Did the Lambda function get triggered when the email was saved in S3? If not, check the configuration of the bucket to make sure that it covers the correct prefix (where the emails are configured to be saved) and that it is triggering the correct Lambda function.
i didnt set up lambda function trigger,but the incoming ses email is not stored in s3 bucket.only the sns topic notification is stored in s3 bucket but not the attachment.how to attach iam roles to aws ses
In the past, I've set up direct SES delivery to S3 because it handles larger emails better. From there, you can trigger a Lambda function when a message is delivered.