mirror of https://github.com/django/django.git
[2.2.x] Fixed an example of email with display name in EmailMessage.from_email.
Backport of 0c2ffdd526
from master
This commit is contained in:
parent
13e6040fd4
commit
26c1214364
|
@ -259,7 +259,7 @@ All parameters are optional and can be set at any time prior to calling the
|
||||||
* ``body``: The body text. This should be a plain text message.
|
* ``body``: The body text. This should be a plain text message.
|
||||||
|
|
||||||
* ``from_email``: The sender's address. Both ``fred@example.com`` and
|
* ``from_email``: The sender's address. Both ``fred@example.com`` and
|
||||||
``Fred <fred@example.com>`` forms are legal. If omitted, the
|
``"Fred" <fred@example.com>`` forms are legal. If omitted, the
|
||||||
:setting:`DEFAULT_FROM_EMAIL` setting is used.
|
:setting:`DEFAULT_FROM_EMAIL` setting is used.
|
||||||
|
|
||||||
* ``to``: A list or tuple of recipient addresses.
|
* ``to``: A list or tuple of recipient addresses.
|
||||||
|
|
Loading…
Reference in New Issue