File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1869,6 +1869,13 @@ the :class:`Symfony\\Bundle\\FrameworkBundle\\Test\\MailerAssertionsTrait`::
18691869 }
18701870 }
18711871
1872+ .. tip ::
1873+
1874+ If your controller returns a redirect response after sending the email, make
1875+ sure to have your client *not * follow redirects. The kernel is rebooted after
1876+ following the redirection and the message will be lost from the mailer event
1877+ handler.
1878+
18721879.. _`Amazon SES` : https://github.com/symfony/symfony/blob/{version}/src/Symfony/Component/Mailer/Bridge/Amazon/README.md
18731880.. _`App Password` : https://support.google.com/accounts/answer/185833
18741881.. _`default_socket_timeout` : https://www.php.net/manual/en/filesystem.configuration.php#ini.default-socket-timeout
You can’t perform that action at this time.
0 commit comments