parsemail icon indicating copy to clipboard operation
parsemail copied to clipboard

Check for attachments before jumping into switch/case statement

Open InsidiousClu opened this issue 2 years ago • 1 comments

This change includes check of the part of the form for attachment detection, before we jump into the switch/case statement. This gives us ability to extract attachments with mime-type of text/html as well, rather appending that to the html body

InsidiousClu avatar Sep 05 '22 10:09 InsidiousClu

I was having the problem with text attachments. Attached text files were being stored in the textbody field instead of being in the attachments where they belong. I copied @InsidiousClu changes and now my parsemail library is working perfectly. IMHO this code should be merged into the master branch.

agentabstract avatar Sep 28 '22 13:09 agentabstract