How to add headers and commonHeaders in SES?
0
I would to overrride the messageId and some more data in header to track the email sending status in SNS event notification. How can i add the headers in the sendEmail? I am using "@aws-sdk/client-sesv2" client sdk.
1 Answers
0
Sending email directly from SNS doesn't apparently support header modification. I'd suggest that you send the notification to a Lambda function, which would then use the SES API to send the email as you wish it to be configured per the SES documentation: https://docs.aws.amazon.com/ses/latest/dg/event-publishing-send-email.html
answered 14 days ago
Relevant questions
How do i parse event object for SNS notification for SES put to s3 bucket
asked 3 years agoI can't get a callback for a complaint (SES)
asked 2 months agoSimple Email Service (SES) notifications via Simple Notification Service (SNS) - JSON sent is different from documenation?
asked 5 months agoHow to add headers from Gem?
Accepted Answerasked 4 years agoHow to add SNS Toll-free Origination numbers for SMS in US-west-1
asked a month agoSES Status Notification with SQS FIFO Queue
asked a month agoCan't understand how to get SNS event data via HTTPS API endpoint protocol
asked 2 hours agoSet headers when sending emails with Cognito
asked 6 months agoHow to add headers and commonHeaders in SES?
asked 19 days agoMessageID from SendEmail doesn't always match delivery notification
asked 2 years ago