fix: major bugs but still it not properly evaluate soem mails

for recursive multipart

bzr revid: mga@tinyerp.com-afd31127855d185da11529bf59236fe6d98812d1
This commit is contained in:
Mantavya Gajjar 2007-04-13 10:46:12 +00:00
parent be8fc4511c
commit a012a084fc
1 changed files with 0 additions and 1 deletions

View File

@ -125,7 +125,6 @@ class email_parser(object):
for part in msg.walk():
if part.get_content_maintype() == 'multipart':
continue
print part.get_content_maintype() ,' - ', part.get_content_subtype();
if part.get_content_maintype()=='text' and part.get_content_subtype() == 'plain':
message['body'] += part.get_payload(decode=True).decode(part.get_charsets()[0])