[issue27010] email library could "recover" from bad mime boundary like (some?) email clients do

2016-09-21 Thread Fedele Mantuano
Fedele Mantuano added the comment: I developed a library that can get that malformed email part, but to get it I used the not correct type of defect "StartBoundaryNotFoundDefect" (https://github.com/SpamScope/mail-parser/blob/develop/mailparser/__init__.py#L44). With this patch, I

[issue27010] Attachments not detected from email library

2016-05-12 Thread Fedele Mantuano
Fedele Mantuano added the comment: Hi David, I use email library to detect malicious attachments, so: message = email.message_from_file(open('mail')) for i in message.walk(): do somethings Not detected means that in for loop I can't see these attachments. The same proble

[issue27010] Attachments not detected from email library

2016-05-12 Thread Fedele Mantuano
New submission from Fedele Mantuano: We are receiving a lot of mail with attachments not detected from email library. I also tested Tika parser and it have the same issue: mail: http://pastebin.com/kSEJnzSa mail parsed: http://pastebin.com/7HaVPcTq I can read only these content types