Use rtfparse to extract HTML message bodies from RTF containers and create mutlipart/alternative messages if both plain text and HTML are available

Also fixes #20.
This commit is contained in:
Joshua Tauberer
2024-02-23 09:07:37 -05:00
parent 6fc382e9a6
commit 4104dc937d
4 changed files with 53 additions and 22 deletions
+3 -2
View File
@@ -3,6 +3,7 @@ import setuptools
install_requires = [
'compoundfiles',
'compressed_rtf',
'rtfparse',
]
with open("README.md", "r") as fh:
@@ -10,7 +11,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name='convert-outlook-msg-file',
version='0.1.0',
version='0.2.0',
description='Parse Microsoft Outlook MSG files',
author='Joshua Tauberer',
author_email='jt@occams.info',
@@ -19,7 +20,7 @@ setuptools.setup(
install_requires=install_requires,
long_description=long_description,
long_description_content_type="text/markdown",
python_requires='>=3.6',
python_requires='>=3.9',
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",