Skip to content

Commit 2149b9d

Browse files
committed
minor #19455 [Mailer] Add warning about custom SES headers (KDederichs)
This PR was merged into the 5.4 branch. Discussion ---------- [Mailer] Add warning about custom SES headers Fixes symfony/symfony#45168 by mentioning that the provider needs to be ses+https in order to transmit custom headers. Commits ------- cb44ce9 Add warning about custom SES headers
2 parents dbbfece + cb44ce9 commit 2149b9d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

mailer.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ Provider SMTP H
201201

202202
The ``ping_threshold`` option for ``ses-smtp`` was introduced in Symfony 5.4.
203203

204+
.. caution::
205+
206+
If you need to send custom headers to receive them later via webhook using the `Amazon SES` transport
207+
be sure to use the ``ses+https`` provider since custom headers are not transmited otherwise.
208+
204209
.. note::
205210

206211
When using SMTP, the default timeout for sending a message before throwing an

0 commit comments

Comments
 (0)