[gettor/master] Fixed format for text plain messages in smtp

3 Nov
2015
3 Nov
'15
7:31 p.m.
commit 00f122e3daa47aa890c7a5a8aebab086f4569a0b Author: ilv <ilv@users.noreply.github.com> 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
3515
Age (days ago)
3515
Last active (days ago)
0 comments
1 participants
participants (1)
-
ilv@torproject.org