You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `user`, `pass` and `port` are optional. The port defaults to 25. If you have a custom port like 1025 which MailHog uses then the MAILER_DSN will be like this.
32
-
33
-
# .env
34
-
MAILER_DSN=smtp://localhost:1025
35
-
36
32
.. warning::
37
33
38
34
If you are migrating from Swiftmailer (and the Swiftmailer bundle), be
@@ -126,7 +122,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
126
122
->subject('Time for Symfony Mailer!')
127
123
->text('Sending emails is fun again!')
128
124
->html('<p>See Twig integration for better HTML integration!</p>');
0 commit comments