From 2fd0a747ed311ffadd91b18993add1c8acdd9b48 Mon Sep 17 00:00:00 2001 From: Nicolas Dousson Date: Thu, 6 Apr 2023 08:46:20 +0200 Subject: [PATCH 1/2] Document transport custom header --- mailer.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/mailer.rst b/mailer.rst index 510d4ecee55..b62bc68fa4f 100644 --- a/mailer.rst +++ b/mailer.rst @@ -455,6 +455,30 @@ header, etc.) but most of the times you'll set text headers:: :ref:`configure emails 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 + + The Infobip custom header was introduced in Symfony 6.3. + Message Contents ~~~~~~~~~~~~~~~~ From eb7a29b7f0173e33ead216b40c41207091b4e1f9 Mon Sep 17 00:00:00 2001 From: Nicolas DOUSSON Date: Tue, 25 Apr 2023 17:04:29 +0200 Subject: [PATCH 2/2] Update mailer.rst with suggestion Co-authored-by: Benoit GALATI --- mailer.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailer.rst b/mailer.rst index b62bc68fa4f..638b3e339e0 100644 --- a/mailer.rst +++ b/mailer.rst @@ -477,7 +477,7 @@ X-Infobip-Track boolean Enable or disable open and click trackin .. versionadded:: 6.3 - The Infobip custom header was introduced in Symfony 6.3. + Infobip custom headers were introduced in Symfony 6.3. Message Contents ~~~~~~~~~~~~~~~~