Simple Method to Add 'List-Unsubscribe' Header in SES with sendEmail/sendBulkEmail Methods?

4

Hi AWS Community,

I'm currently working with SES and using the sendEmail and sendBulkEmail methods for email campaigns. I want to add the "list-unsubscribe" header to improve user experience and comply with best practices. Still, I want to avoid overly complex solutions like full-scale list management or crafting raw emails.

Has anyone successfully implemented a straightforward method to add the "list-unsubscribe" header using these methods without significantly altering the existing setup? Any tips or code snippets would be greatly appreciated!

Thanks, Eran

3 réponses
1

Hi Eric,

I only use sendBulkEmail and sendEmail from SESv2.

I need to add a header called List-Unsubscribe due to Google and Yahoo's new email requirements.

Adding a header to your email should be easy; I can't find where to do it.

répondu il y a 4 mois
  • I'm looking for the same thing. Right now it seems the only way is to switch to SendRawEmail but that adds complexity to the message creation.

0

Hi Eran, It looks like SESv1 SendBulkTemplatedEmail, SendEmail, and SESv2 SendBulkEmail do not support "ListManagementOptions". Only the SESv2 SendEmail action does. Do you use the SESv2 SendEmail call with "ListManagementOptions" ?

eric_g
répondu il y a 4 mois
0
répondu il y a 2 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions