File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,10 @@ environment variable in the ``.env`` file:
37
37
# use this to disable email delivery
38
38
MAILER_URL=null://localhost
39
39
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)
41
43
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
43
44
44
45
Refer to the :doc: `SwiftMailer configuration reference </reference/configuration/swiftmailer >`
45
46
for the detailed explanation of all the available config options.
You can’t perform that action at this time.
0 commit comments