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 Answers
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.

answered 3 months ago
  • 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
answered 3 months ago
0
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions