Skip to content

[Mailer][Mailgun] Support more headers #35776

@Nyholm

Description

@Nyholm

Mailgun has a number of headers available. Example is o:deliverytime and v:my-var. There is no way of setting these headers with the current implementation. All headers get prefixed with h:. See MailgunApiTransport::getPayload()

It would be a good idea to allow user to set these headers. See here for a complete list: https://documentation.mailgun.com/en/latest/api-sending.html#sending

I suggest to only allow headers that begins with h:, t:, o:, v: and then fallback to prefix with h:. That will allow us to add this in a BC compatible way.

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