
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
This module enables reading, parsing and converting Microsoft Outlook MSG E-Mail files.
.. image:: https://img.shields.io/pypi/v/msg_parser.svg :target: https://pypi.python.org/pypi/msg_parser
.. image:: https://img.shields.io/travis/vikramarsid/msg_parser.svg :target: https://travis-ci.org/vikramarsid/msg_parser
.. image:: https://readthedocs.org/projects/msg-parser/badge/?version=latest :target: https://msg-parser.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://pyup.io/repos/github/vikramarsid/msg_parser/shield.svg :target: https://pyup.io/repos/github/vikramarsid/msg_parser/ :alt: Updates
Python module for parsing outlook msg files.
Basic installation
.. code-block:: bash
pip install msg_parser
With RTF decompression
.. code-block:: bash
pip install msg_parser[rtf]
Run CLI command
.. code-block:: bash
$ msg_parser --help
usage: msg_parser [-h] -i FILE [-j] [-e EML_FILE]
Microsoft Message Parser
optional arguments:
-h, --help show this help message and exit
-i FILE, --input FILE
msg file path
-j, --json output parsed msg as json to console
-e EML_FILE, --eml EML_FILE
provide email file path to save as eml file.
Import in python modules
.. code-block:: python
from msg_parser import MsOxMessage
msg_obj = MsOxMessage(msg_file_path)
json_string = msg_obj.get_message_as_json()
msg_properties_dict = msg_obj.get_properties()
saved_path = msg_obj.save_email_file(output_eml_file_path)
FAQs
This module enables reading, parsing and converting Microsoft Outlook MSG E-Mail files.
We found that msg-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.