We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8cdd53 commit 4de910eCopy full SHA for 4de910e
mailer.rst
@@ -1597,6 +1597,11 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`::
1597
}
1598
1599
1600
+.. tip::
1601
+
1602
+ If your controller returns a redirect response after sending the email, make sure to have your client *not* follow redirects.
1603
+ The kernel is rebooted after following the redirection and the message lost from the mailer event handler.
1604
1605
.. _`Amazon SES`: https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Amazon/README.md
1606
.. _`App Password`: https://support.google.com/accounts/answer/185833
1607
.. _`default_socket_timeout`: https://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout
0 commit comments