KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a programmatic tool that converts an email (rfc822 with mime and attachments) into html? It can be a python/perl/java library/module or a command line linux tool. I need to create a valid html (even if some parts of email aren't so valid). I don't need to check for virii and spam because the mail is assumed to be already cleared. A plus is to check for obviously dangerous things like javascripts and remote images but I can do it myself once I have a proper html. The program is meant to be run from a script, so advice requiring human intervention is not relevant unless it can be run from Linux-based headless server, because it is meant to be run from a server script. Yes, there is mhonarc but it looks a bit obsolete and it generates many perl warnings. I also tried python's mailparser but it looks it lacks a converter to html.
Tags (comma-separated)
Save Edits
Cancel