Sign inSign up

4teamwork/msgconvert

By 4teamwork

•Updated over 1 year ago

A webservice to convert Microsoft Outlook .msg files to .eml (message/rfc822) format.

Image
0

500K+

4teamwork/msgconvert repository overview

⁠msgconvert

A dockerized webservice to convert Microsoft Outlook .msg files to .eml (message/rfc822) format.

⁠Description

msgconvert uses the Perl module Email::Outlook::Message for conversion. It exposes just a single endpoint for uploading an .msg file and returns the converted .eml. The webservice is written in Python using the aiohttp web server.

⁠Usage

To start the webservice just run

docker-compose up

The .msg file must be uploaded as multipart/form-data with a part named msg containing the .msg file.

Example:

curl -F "msg=@tests/sample.msg" http://localhost:3000/

⁠Testing

To execute the tests, Python 3.8 with pytest and requests is required.

python3.8 -m venv venv
./venv bin/activate
pip install pytest requests

Tests are run by executing pytest:

pytest

Tag summary

Content type

Image

Digest

sha256:512b80c9a…

Size

29.6 MB

Last updated

over 1 year ago

docker pull 4teamwork/msgconvert