pull/4/head
Sascha Rommelfangen 2017-05-23 15:56:13 +02:00
parent d323b601b0
commit 47fa10cce8
1 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ try:
for part in msg.walk(): for part in msg.walk():
if part.get_content_maintype() == 'multipart': if part.get_content_maintype() == 'multipart':
continue continue
if part.get_content_maintype() == 'text':
email_data += part.get_payload(decode=True) email_data += part.get_payload(decode=True)
email_subject += mail_subject email_subject += mail_subject
stdin_used = True stdin_used = True