1
0
mirror of https://github.com/django/django.git synced 2025-02-23 07:55:07 +00:00

Fixed #5503 -- corrected a small typo in email example. Thanks, trey@ktrl.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6351 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
James Bennett 2007-09-16 03:57:33 +00:00
parent ec7d80b9dd
commit 23f95c9dfa

View File

@ -328,7 +328,7 @@ attribute on the ``EmailMessage`` class to change the main content type. The
major type will always be ``"text"``, but you can change it to the subtype. For major type will always be ``"text"``, but you can change it to the subtype. For
example:: example::
msg = EmailMessage(subject, html_content, from_email, to) msg = EmailMessage(subject, html_content, from_email, [to])
msg.content_subtype = "html" # Main content is now text/html msg.content_subtype = "html" # Main content is now text/html
msg.send() msg.send()