Author: ubernostrum
Date: 2007-09-27 22:07:36 -0500 (Thu, 27 Sep 2007)
New Revision: 6431

Modified:
   django/trunk/docs/email.txt
Log:
Fixed #5615: Corrected a typo in docs/email.txt. Thanks, [EMAIL PROTECTED]


Modified: django/trunk/docs/email.txt
===================================================================
--- django/trunk/docs/email.txt 2007-09-27 17:01:34 UTC (rev 6430)
+++ django/trunk/docs/email.txt 2007-09-28 03:07:36 UTC (rev 6431)
@@ -317,7 +317,7 @@
     subject, from_email, to = 'hello', '[EMAIL PROTECTED]', '[EMAIL PROTECTED]'
     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()
 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to