summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJames Bennett <ubernostrum@gmail.com>2007-09-28 03:07:36 +0000
committerJames Bennett <ubernostrum@gmail.com>2007-09-28 03:07:36 +0000
commit4b4ecb6d668567ddbc9b88abac01d8ef21a56741 (patch)
tree8f832e4a66efbd0fabe4863a92f3e3cacc771d5d /docs
parent39d61439e08699d9c589af952568e3599cb51bda (diff)
Fixed #5615: Corrected a typo in docs/email.txt. Thanks, raprasad@gmail.com.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6431 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/email.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/email.txt b/docs/email.txt
index 2bad79ce33..effc5e24cf 100644
--- a/docs/email.txt
+++ b/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()