'Create .msg file with task without having outlook installed
Is there any chance to create a outlook .msg file without having outlook installed.
We use a django backend and need to create a msg file containing a task for importing in outlook. Since we use unix-based servers we dont have any chance to get outlook installed (except wine etc..)
Is there a component to generate such .msg files in any programming language without having outlook installed?
Solution 1:[1]
Well the MSG file format is defined here: https://msdn.microsoft.com/en-us/library/cc463912(v=exchg.80).aspx but like all microsoft documention it's anything but readable. All you need to do is to write a bit of python code to produce a file that fits the given format.
Solution 2:[2]
Why not create an EML file? It is MIME, so there are hundreds of libraries out there. Outlook will be able to open an EML file just fine.
In your particular case, create a MIME file with the vTodo MIME part as the primary MIME part.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | Dmitry Streblechenko |
