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
Copy file name to clipboardExpand all lines: mailer.rst
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,12 @@ can deliver emails over ``smtp`` by configuring your ``.env`` file:
26
26
.. code-block:: bash
27
27
28
28
# .env
29
-
MAILER_DSN=smtp://user:pass@smtp.example.com
29
+
MAILER_DSN=smtp://user:pass@smtp.example.com:port
30
+
31
+
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.
0 commit comments