Skip to content

Commit e334074

Browse files
authored
Update mailer.rst
Change for a better information see on https://symfony.com/doc/current/email.html
1 parent f92b362 commit e334074

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mailer.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ over SMTP by configuring the DSN in your ``.env`` file (the ``user``,
6767
6868
.. caution::
6969

70-
If your user or password has special characters such as @ or #, use encoding characters such as% 40 or% 23.
70+
If the username, password or host contain any character considered special in a
71+
URI (such as ``+``, ``@``, ``$``, ``#``, ``/``, ``:``, ``*``, ``!``), you must
72+
encode them. See `RFC 3986`_ for the full list of reserved characters or use the
73+
:phpfunction:`urlencode` function to encode them.
7174

7275
.. caution::
7376

0 commit comments

Comments
 (0)