1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Improved DEFAULT_FROM_EMAIL/SERVER_EMAIL docs.

Co-authored-by: nessita <124304+nessita@users.noreply.github.com>
This commit is contained in:
David D Lowe 2023-12-15 09:50:34 +01:00 committed by Mariusz Felisiak
parent 751d732a38
commit 61aae838f7

View File

@ -1343,9 +1343,12 @@ See :ref:`Filtering error reports<filtering-error-reports>`.
Default: ``'webmaster@localhost'`` Default: ``'webmaster@localhost'``
Default email address to use for various automated correspondence from the Default email address for automated correspondence from the site manager(s).
site manager(s). This doesn't include error messages sent to :setting:`ADMINS` This address is used in the ``From:`` header of outgoing emails and can take
and :setting:`MANAGERS`; for that, see :setting:`SERVER_EMAIL`. 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 .. setting:: DEFAULT_INDEX_TABLESPACE
@ -2535,7 +2538,9 @@ example, to define a YAML serializer, use::
Default: ``'root@localhost'`` Default: ``'root@localhost'``
The email address that error messages come from, such as those sent to 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? .. admonition:: Why are my emails sent from a different address?