mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
Trivial edit to docs from [5548].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
719a90391d
commit
bcb088b558
@ -303,8 +303,6 @@ To send a text and HTML combination, you could write::
|
|||||||
msg.attach_alternative(html_content, "text/html")
|
msg.attach_alternative(html_content, "text/html")
|
||||||
msg.send()
|
msg.send()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
By default, the MIME type of the ``body`` parameter in an ``EmailMessage`` is
|
By default, the MIME type of the ``body`` parameter in an ``EmailMessage`` is
|
||||||
``"text/plain"``. It is good practice to leave this alone, since it guarantees
|
``"text/plain"``. It is good practice to leave this alone, since it guarantees
|
||||||
that any recipient will be able to read the e-mail, regardless of their mail
|
that any recipient will be able to read the e-mail, regardless of their mail
|
||||||
|
Loading…
x
Reference in New Issue
Block a user