Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit 23f95c9dfa5ffd4ea5a11cf8797d03486d0eb6f5 1 parent ec7d80b
James Bennett ubernostrum authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/email.txt
2  docs/email.txt
View
@@ -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
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.send()
Please sign in to comment.
Something went wrong with that request. Please try again.