Skip to content

[Mailer] Document transport custom header #18169

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

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions mailer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,30 @@ header, etc.) but most of the times you'll set text headers::
:ref:`configure emails globally <mailer-configure-email-globally>` to set the same
headers to all sent emails.

3rd Party Message Headers
~~~~~~~~~~~~~~~~~~~~~~~~~

Certain 3rd party transports support "custom" header.

The following transports currently support custom headers:

Infobip
.......

============================ ======== =====================================================================================
Header Type Description
============================ ======== =====================================================================================
X-Infobip-IntermediateReport boolean The real-time Intermediate delivery report that will be sent on your callback server.
X-Infobip-NotifyUrl string The URL on your callback server on which the Delivery report will be sent.
X-Infobip-NotifyContentType string Preferred Delivery report content type. Can be application/json or application/xml.
X-Infobip-MessageId string The ID that uniquely identifies the message sent to a recipient.
X-Infobip-Track boolean Enable or disable open and click tracking.
============================ ======== =====================================================================================

.. versionadded:: 6.3

Infobip custom headers were introduced in Symfony 6.3.

Message Contents
~~~~~~~~~~~~~~~~

Expand Down