Add hint how to urlencode special characters in EMAIL_CONFIG variable of .env file

environments/review-front-fix-fhp6gl/deployments/7748
Georg Abenthung 2021-08-04 12:52:35 +00:00 zatwierdzone przez Georg Krause
rodzic 61d7c8bf14
commit a4aaecef39
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -52,6 +52,12 @@ LOGLEVEL=error
# EMAIL_CONFIG=consolemail:// # output e-mails to console (the default)
# EMAIL_CONFIG=dummymail:// # disable e-mail sending completely
# On a production instance, you'll usually want to use an external SMTP server:
# If `user` or `password` contain special characters (eg.
# `noreply@youremail.host` as `user`), be sure to urlencode them, using
# for example the command:
# `python3 -c 'import urllib.parse; print(urllib.parse.quote_plus
# ("noreply@youremail.host"))'`
# (returns `noreply%40youremail.host`)
# EMAIL_CONFIG=smtp://user@:password@youremail.host:25
# EMAIL_CONFIG=smtp+ssl://user@:password@youremail.host:465
# EMAIL_CONFIG=smtp+tls://user@:password@youremail.host:587