mirror of https://github.com/django/django.git
Fixed #13420 -- Clarified grammar in the email docs. Thanks to Dominic Rodger for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
33d4aa8df1
commit
0f6555bce2
|
@ -340,7 +340,7 @@ able to read the e-mail, regardless of their mail client. However, if you are
|
|||
confident that your recipients can handle an alternative content type, you can
|
||||
use the ``content_subtype`` attribute on the
|
||||
:class:`~django.core.mail.EmailMessage` class to change the main content type.
|
||||
The major type will always be ``"text"``, but you can change it to the
|
||||
The major type will always be ``"text"``, but you can change the
|
||||
subtype. For example::
|
||||
|
||||
msg = EmailMessage(subject, html_content, from_email, [to])
|
||||
|
|
Loading…
Reference in New Issue