Skip to content

Commit 7f72a6f

Browse files
Reword
1 parent 61a69ac commit 7f72a6f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

email.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ environment variable in the ``.env`` file:
3737
# use this to disable email delivery
3838
MAILER_URL=null://localhost
3939
40-
# use this to configure a traditional SMTP server
40+
# use this to configure a traditional SMTP server (make sure to URL-encode the
41+
# values of the username and password if they contain non-alphanumeric characters
42+
# such as '+', '@', ':' and '*', which are reserved in URLs)
4143
MAILER_URL=smtp://localhost:25?encryption=ssl&auth_mode=login&username=&password=
42-
# keep in mind that, since this is an URL, any special characters in username/password should be URL-encoded
4344
4445
Refer to the :doc:`SwiftMailer configuration reference </reference/configuration/swiftmailer>`
4546
for the detailed explanation of all the available config options.

0 commit comments

Comments
 (0)