1
0
mirror of https://github.com/django/django.git synced 2024-12-28 03:55:50 +00:00

[5.0.x] Improved DEFAULT_FROM_EMAIL/SERVER_EMAIL docs.

Co-authored-by: nessita <124304+nessita@users.noreply.github.com>

Backport of 61aae838f7 from main
This commit is contained in:
David D Lowe 2023-12-15 09:50:34 +01:00 committed by Mariusz Felisiak
parent 9a182f3d95
commit 7e3ba869a6

View File

@ -1361,9 +1361,12 @@ specify a particular storage system. See :doc:`/topics/files`.
Default: ``'webmaster@localhost'``
Default email address to use for various automated correspondence from the
site manager(s). This doesn't include error messages sent to :setting:`ADMINS`
and :setting:`MANAGERS`; for that, see :setting:`SERVER_EMAIL`.
Default email address for automated correspondence from the site manager(s).
This address is used in the ``From:`` header of outgoing emails and can take
any format valid in the chosen email sending protocol.
This doesn't affect error messages sent to :setting:`ADMINS` and
:setting:`MANAGERS`. See :setting:`SERVER_EMAIL` for that.
.. setting:: DEFAULT_INDEX_TABLESPACE
@ -2553,7 +2556,9 @@ example, to define a YAML serializer, use::
Default: ``'root@localhost'``
The email address that error messages come from, such as those sent to
:setting:`ADMINS` and :setting:`MANAGERS`.
:setting:`ADMINS` and :setting:`MANAGERS`. This address is used in the
``From:`` header and can take any format valid in the chosen email sending
protocol.
.. admonition:: Why are my emails sent from a different address?