Skip to content

Commit 3a70a6f

Browse files
committed
minor #16221 Add a warning about native://default for Mailer (fabpot)
This PR was merged into the 5.3 branch. Discussion ---------- Add a warning about native://default for Mailer This is a follow-up for symfony/symfony#44567. The `native://default` DSN for mailer should never be used. Commits ------- b4221fb Add a warning about native://default for Mailer
2 parents efd5d99 + b4221fb commit 3a70a6f

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
@@ -93,6 +93,11 @@ native ``native://default`` Mailer uses the sendmail
9393
in the ``sendmail_path`` setting of ``php.ini``. On Windows
9494
hosts, Mailer fallbacks to ``smtp`` and ``smtp_port``
9595
``php.ini`` settings when ``sendmail_path`` is not configured.
96+
Be warned that if ``php.ini`` uses the ``sendmail -t`` command,
97+
you won't have error reporting and ``Bcc`` headers won't be removed.
98+
It's highly recommended to NOT use this DSN as you cannot control
99+
how sendmail is configured (prefer using ``sendmail://default``
100+
if possible).
96101
============ ======================================== ==============================================================
97102

98103
Using a 3rd Party Transport

0 commit comments

Comments
 (0)