Fixed an example of email with display name in EmailMessage.from_email.

This commit is contained in:
Joachim Jablon 2019-04-29 18:48:00 +02:00 committed by Carlton Gibson
parent fc2536fe66
commit 0c2ffdd526
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.