[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Fixed format for text plain messages in smtp
commit 00f122e3daa47aa890c7a5a8aebab086f4569a0b
Author: ilv <ilv@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat Oct 31 15:04:20 2015 -0300
Fixed format for text plain messages in smtp
---
gettor/smtp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gettor/smtp.py b/gettor/smtp.py
index cfabfda..5476189 100644
--- a/gettor/smtp.py
+++ b/gettor/smtp.py
@@ -308,7 +308,7 @@ class SMTP(object):
email_obj['From'] = from_addr
email_obj['To'] = to_addr
- msg_attach = MIMEText(msg, 'text')
+ msg_attach = MIMEText(msg, 'plain')
email_obj.attach(msg_attach)
return email_obj
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits