API - port can be omitted in EMAIL_URL (defaults to 25)

This commit is contained in:
Sam
2022-01-01 11:27:16 +01:00
parent 33fde0394a
commit d17626c301
6 changed files with 22 additions and 7 deletions

View File

@ -209,9 +209,11 @@ To send emails, a valid ``EMAIL_URL`` must be provided:
- with SSL: ``smtp://username:password@smtp.example.com:465/?ssl=True``
- with STARTTLS: ``smtp://username:password@smtp.example.com:587/?tls=True``
.. versionadded:: 0.5.3
Credentials can be omitted: ``smtp://smtp.example.com:25``
| Credentials can be omitted: ``smtp://smtp.example.com:25``.
| If ``:<port>`` is omitted, the port defaults to 25.
Map tile server
^^^^^^^^^^^^^^^