[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:
Joachim Jablon 2019-04-29 18:48:00 +02:00 committed by Mariusz Felisiak
parent 13e6040fd4
commit 26c1214364
1 changed files with 1 additions and 1 deletions

View File

@ -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.