Author: ubernostrum
Date: 2007-09-15 22:57:33 -0500 (Sat, 15 Sep 2007)
New Revision: 6351

Modified:
   django/trunk/docs/email.txt
Log:
Fixed #5503 -- corrected a small typo in email example. Thanks, [EMAIL 
PROTECTED]


Modified: django/trunk/docs/email.txt
===================================================================
--- django/trunk/docs/email.txt 2007-09-16 03:27:38 UTC (rev 6350)
+++ django/trunk/docs/email.txt 2007-09-16 03:57:33 UTC (rev 6351)
@@ -328,7 +328,7 @@
 major type will always be ``"text"``, but you can change it to the subtype. For
 example::
 
-    msg = EmailMessage(subject, html_content, from_email, to)
+    msg = EmailMessage(subject, html_content, from_email, [to])
     msg.content_subtype = "html"  # Main content is now 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