mirror of
https://github.com/django/django.git
synced 2024-11-29 22:56:46 +01:00
Fixed #5148 -- Added link to DEFAULT_FROM_EMAIL
setting in email documentation. Thanks, mcroydon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
04a110836d
commit
bf6effdfaf
@ -225,7 +225,7 @@ optional and can be set at any time prior to calling the ``send()`` method.
|
||||
|
||||
* ``from_email``: The sender's address. Both ``fred@example.com`` and
|
||||
``Fred <fred@example.com>`` forms are legal. If omitted, the
|
||||
``DEFAULT_FROM_EMAIL`` setting is used.
|
||||
`DEFAULT_FROM_EMAIL`_ setting is used.
|
||||
|
||||
* ``to``: A list or tuple of recipient addresses.
|
||||
|
||||
@ -297,6 +297,8 @@ The class has the following methods:
|
||||
|
||||
message.attach_file('/images/weather_map.png')
|
||||
|
||||
.. _DEFAULT_FROM_EMAIL: ../settings/#default-from-email
|
||||
|
||||
Sending alternative content types
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user