Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom headers support to SES sendBulkTemplatedEmail #2836

Open
2 tasks
chrisc0 opened this issue Nov 23, 2023 · 7 comments
Open
2 tasks

Add custom headers support to SES sendBulkTemplatedEmail #2836

chrisc0 opened this issue Nov 23, 2023 · 7 comments
Labels
feature-request A feature should be added or improved. needs-review p3 This is a minor priority issue

Comments

@chrisc0
Copy link

chrisc0 commented Nov 23, 2023

Describe the feature

I need to be able to add custom email headers while sending out hundreds (potentially thousands) of emails at a time using the SES sendBulkTemplatedEmail command but it doesn't currently seem possible.

Use Case

I need to be able to add custom email headers while sending out hundreds (potentially thousands) of emails at a time using the SES sendBulkTemplatedEmail command but it doesn't currently seem possible.

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

latest

Environment details (Version of PHP (php -v)? OS name and version, etc.)

php 8.1.2, Ubuntu 22.04

@chrisc0 chrisc0 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Nov 23, 2023
@nicodemuz
Copy link

Below quotes are from the recent AWS article:

"In a move to safeguard user inboxes, Gmail and Yahoo Mail announced a new set of requirements for senders effective from February 2024."

  1. Set up an easy unsubscribe for email recipients
    Bulk senders are expected to include a mechanism to unsubscribe by adding an easy to find link within the message. The February 2024 mailbox provider rules will require senders to additionally add one-click unsubscribe headers as defined by RFC 2369 and RFC 8058. These headers make it easier for recipients to unsubscribe, which reduces the rate at which recipients will complain by marking messages as spam.

To set up one-click unsubscribe without using the SES subscription management feature, include both of these headers in outgoing messages:

List-Unsubscribe-Post: List-Unsubscribe=One-Click
List-Unsubscribe: https://example.com/unsubscribe/example

How can we use sendBulkTemplatedEmail API to add List-Unsubscribe-Post and List-Unsubscribe headers? With a quick look at the API documentation, I don't see any ways to add these headers. We do not wish to use SES subscription management feature as we already have our subscription management page where the user can unsubscribe.

Going forward, this seems like an essential feature that needs to be supported.

@DevKishan
Copy link

DevKishan commented Jan 18, 2024

Going forward, this seems like an essential feature that needs to be supported.

Yes, this is indeed a necessary feature when sending emails to subscribers in bulk. Without this, we are forced to send emails one subscriber at a time since it is not possible to add the List-Unsubscribe custom header through API_SendBulkTemplatedEmail API. This point in this SES doc further confirms it.

image

Other competitor ESPs like Sendgrid, Mailgun do provide the option to add List-Unsubscribe and List-Unsubscribe-Post headers in bulk mode as well.

@HashimHaider
Copy link

Any update on this? Given the recent bulk sender changes at Yahoo/Gmail (dated February, 2024), we need the List-Unsubscribe header more than ever.
https://aws.amazon.com/blogs/messaging-and-targeting/an-overview-of-bulk-sender-changes-at-yahoo-gmail/

@gileri
Copy link

gileri commented Feb 15, 2024

In a support ticket related to this bulk sender policy changes, the AWS representative said that something was cooking internally in order to support adding List-Unsubscribe headers in bulk-sending SES API calls. No specifics or planned release date as usual.

@kaaaaaaaaaaai
Copy link

same response

@yenfryherrerafeliz yenfryherrerafeliz added needs-review p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Feb 16, 2024
@serbanveres
Copy link

+1

@TomWaterz
Copy link

Any update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. needs-review p3 This is a minor priority issue
Projects
None yet
Development

No branches or pull requests

9 participants