Skip to content

The mailchimp-mailer should handle all the possible configuration of the API #40056

@VincentLanglet

Description

@VincentLanglet

Description
The mailchimp mailer is based on the mandrill API and create a payload
https://github.com/symfony/mailchimp-mailer/blob/5.x/Transport/MandrillApiTransport.php#L77-L83

But this payload could have other values
https://mandrillapp.com/api/docs/messages.html

For instance I'm using a lot track_opens and track_clicks.

$message = [
    'to'           => $recipients,
    'html'         => $body,
    'subject'      => $subject,
    'from_email'   => $fromEmail,
    'attachments'  => $attachments,
    'track_opens'  => true,
    'track_clicks' => true,
];

It would be great to add these two values (and maybe all the possible options of the API).

How should it be implemented ?
Does it require something like Email::getOptions() ?

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