The Need:
Essentially I have a tool that creates HTML Emails. A feature I would like to add for this tool is to create .MSG
or .OFT
files for use specifically in Outlook so the client doesn't have to load the HTML into outlook and create their own .MSG
or .OFT
files manually. This has to be done in either PHP or JS via my tool, NOT done manually in Outlook.
The Problem
It appears these files are Binary Files and I cannot find a JS Library that handles the conversion. If the client uploads the HTML directly into Outlook, then Outlook modifies the HTML in such a way that it often breaks the email. If I had more control over the conversation I could hopefully fix a few of the rendering issues.
What I've Tried
I exported .EML
Files successfully, but once imported into Outlook and converted, these too break in the same manner as straight HTML.
Any thoughts greatly appreciated.