Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #5615: Corrected a typo in docs/email.txt. Thanks, raprasad@gma…

…il.com.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 4b4ecb6d668567ddbc9b88abac01d8ef21a56741 1 parent 39d6143
@ubernostrum ubernostrum authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/email.txt
View
2  docs/email.txt
@@ -317,7 +317,7 @@ To send a text and HTML combination, you could write::
subject, from_email, to = 'hello', 'from@example.com', 'to@example.com'
text_content = 'This is an important message.'
html_content = '<p>This is an <strong>important</strong> message.</p>'
- msg = EmailMultiAlternatives(subject, text_content, from_email, to)
+ msg = EmailMultiAlternatives(subject, text_content, from_email, [to])
msg.attach_alternative(html_content, "text/html")
msg.send()
Please sign in to comment.
Something went wrong with that request. Please try again.