From 4b4ecb6d668567ddbc9b88abac01d8ef21a56741 Mon Sep 17 00:00:00 2001 From: James Bennett Date: Fri, 28 Sep 2007 03:07:36 +0000 Subject: [PATCH] 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 --- docs/email.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = '

This is an important message.

' - 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()