Skip to content

Commit 3861993

Browse files
committed
Merge branch '5.1'
* 5.1: Show with an example how to add a custom smtp port
2 parents a37008b + 49a41e2 commit 3861993

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

mailer.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@ Transport Setup
1919
---------------
2020

2121
Emails are delivered via a "transport". And without installing anything else, you
22-
can deliver emails over ``smtp`` by configuring your ``.env`` file:
22+
can deliver emails over ``smtp`` by configuring your ``.env`` file (the
23+
``user``, ``pass`` and ``port`` parameters are optional):
2324

2425
.. code-block:: bash
2526
2627
# .env
27-
MAILER_DSN=smtp://user:pass@smtp.example.com
28+
MAILER_DSN=smtp://user:pass@smtp.example.com:port
2829
2930
.. warning::
3031

0 commit comments

Comments
 (0)