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 Respuesta
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

profile pictureAWS
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas