diff --git a/api/config/settings/common.py b/api/config/settings/common.py index d9b2df10ccbe9879f3ec0e5ee92846b100bcb48c..ee9c56f67b0e533b055d98dfa0549d25431e94cf 100644 --- a/api/config/settings/common.py +++ b/api/config/settings/common.py @@ -335,9 +335,9 @@ SMTP configuration for sending e-mails. Possible values: On a production instance, you'll usually want to use an external SMTP server: -- ``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`` +- ``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`` .. note:: diff --git a/changes/changelog.d/1749.bugfix b/changes/changelog.d/1749.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..14c0f2dcb887976e7c8455a24d811c65bdd05fcc --- /dev/null +++ b/changes/changelog.d/1749.bugfix @@ -0,0 +1 @@ +Fixes docs' SMTP URI configuration (#1749) (1749) diff --git a/deploy/env.prod.sample b/deploy/env.prod.sample index 9c3f0d7644f8a5fb4af771fb734aa0733832cf9c..1e8a913a9ee63e7f66f2ae9327a05f1f025c8466 100644 --- a/deploy/env.prod.sample +++ b/deploy/env.prod.sample @@ -58,9 +58,9 @@ LOGLEVEL=error # `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 +# 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 # Make e-mail verification mandatory before using the service # Doesn't apply to admins.