[mentors-ops] r289 - website/cgi-bin/Mentors

mentors at lonestar.workaround.org mentors at lonestar.workaround.org
Fri May 18 13:28:06 CEST 2007


Author: mentors
Date: 2007-05-18 13:28:05 +0200 (Fri, 18 May 2007)
New Revision: 289

Modified:
   website/cgi-bin/Mentors/Util.py
Log:
Mails are not sent as utf-8


Modified: website/cgi-bin/Mentors/Util.py
===================================================================
--- website/cgi-bin/Mentors/Util.py	2007-04-26 20:57:21 UTC (rev 288)
+++ website/cgi-bin/Mentors/Util.py	2007-05-18 11:28:05 UTC (rev 289)
@@ -251,7 +251,7 @@
 
       return result
 
-   message = MIMEText(body)
+   message = MIMEText(body, _charset='utf-8')
    sender = mimeify_nameaddr(sender)
    recipient = mimeify_nameaddr(recipient)
    message['From'] = sender




More information about the mentors-ops mailing list