Skip to content

Amazon SES transport list management options #39864

@pupaxxo

Description

@pupaxxo

Description

Amazon SES allows you to pass a contact list name and a topic name to easily add (and manage) unsubscribe links (and headers) to sent messages. These options should be passed to the API send email request:

$request['ListManagementOptions'] = [
  'ContactListName' => '<contact list name>', 
  'TopicName' => '<topic name>',
];

With this options AWS will add the unsubscribe header to the sent email and the occurrences of {{amazonSESUnsubscribeUrl}} will be replaced with the actual unsubscribe url.

The amazon transport currently has no way to add additional params to the request, The configuration set param is loaded from the X-SES-CONFIGURATION-SET header (defined in Amazon SES SMTP specification). You could define two additional headers (eg: X-SES-CONTACT-LIST-NAME and X-SES-TOPIC-NAME) to define the two additional api params.

Would you accept a PR with this addition?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy