Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
James Bennett authored September 28, 2007

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/email.txt
2  docs/email.txt
@@ -317,7 +317,7 @@ To send a text and HTML combination, you could write::
317 317
     subject, from_email, to = 'hello', 'from@example.com', 'to@example.com'
318 318
     text_content = 'This is an important message.'
319 319
     html_content = '<p>This is an <strong>important</strong> message.</p>'
320  
-    msg = EmailMultiAlternatives(subject, text_content, from_email, to)
  320
+    msg = EmailMultiAlternatives(subject, text_content, from_email, [to])
321 321
     msg.attach_alternative(html_content, "text/html")
322 322
     msg.send()
323 323
 

0 notes on commit 4b4ecb6

Please sign in to comment.
Something went wrong with that request. Please try again.