8000 Merge branch '4.4' into 5.0 · symfony/symfony-docs@db57c1f · GitHub
[go: up one dir, main page]

Skip to content

Commit db57c1f

Browse files
committed
Merge branch '4.4' into 5.0
* 4.4: Show with an example how to add a custom smtp port
2 parents 99b1b4b + d991ca4 commit db57c1f

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)
0