8000 minor #7522 [Email] Add caution related to deprecate mail transport (… · symfony/symfony-docs@2dd28b9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2dd28b9

Browse files
committed
minor #7522 [Email] Add caution related to deprecate mail transport (dominikhajduk)
This PR was merged into the 2.7 branch. Discussion ---------- [Email] Add caution related to deprecate mail transpo 8000 rt For current stable Symfony standard edition `swiftmailer/swiftmailer` version v5.4.6 is used. Since this one `mail` transport is deprecated. I think it's worth to mentioning this deprecation. swiftmailer/swiftmailer#866 >User Deprecated: The Swift_Transport_MailTransport class is deprecated since version 5.4.5 and will be removed in 6.0. Use the Sendmail or SMTP transport instead. Commits ------- 7138f84 Add caution related to deprecate mail transport
2 parents 7a1c87e + 7138f84 commit 2dd28b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

email.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ The following configuration attributes are available:
8686
* ``delivery_addresses`` (an array of email addresses where to send ALL emails)
8787
* ``disable_delivery`` (set to true to disable delivery completely)
8888

89+
.. caution::
90+
91+
Starting from Swift Mailer 5.4.5, ``mail`` transport is deprecated. It will be removed
92+
in version 6. Consider using other transport as ``smtp``, ``sendmail`` or ``gmail``.
93+
8994
Sending Emails
9095
--------------
9196

0 commit comments

Comments
 (0)
0