mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #1235: email sent from {{{django.core.mail}}} will now be encoded using
the value of the {{{DEFAULT_CHARSET}}} setting. Thanks, igor@goryachev.org and akaihola. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
5c0e4f3908
commit
aa11b3ea50
2 changed files with 11 additions and 1 deletions
|
@ -19,6 +19,13 @@ In two lines::
|
|||
|
||||
send_mail('Subject here', 'Here is the message.', 'from@example.com',
|
||||
['to@example.com'], fail_silently=False)
|
||||
|
||||
.. note::
|
||||
|
||||
The character set of email sent with ``django.core.mail`` will be set to
|
||||
the value of your `DEFAULT_CHARSET setting`_.
|
||||
|
||||
.. _DEFAULT_CHARSET setting: ../settings/#DEFAULT_CHARSET
|
||||
|
||||
send_mail()
|
||||
===========
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue