Skip to content

Conversation

InsidiousClu
Copy link

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

where we initially check whether part is the attachments.
Rather doing that in the last step, otherwise attachments with mimetype
of text/html would not be extracted out of the eml file
@agentabstract
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants