diff --git a/CHANGELOG.md b/CHANGELOG.md index 91e71bf..6aaca54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Changelog ========= +8.19.1 +------ + +- Ignore HTML content type in report email parsing (#626) + 8.19.0 ------ diff --git a/parsedmarc/__init__.py b/parsedmarc/__init__.py index c760296..b6a2209 100644 --- a/parsedmarc/__init__.py +++ b/parsedmarc/__init__.py @@ -1207,6 +1207,8 @@ def parse_report_email( payload = payload[0].__str__() if content_type.startswith("multipart/"): continue + if content_type == "text/html": + continue elif content_type == "message/feedback-report": try: if "Feedback-Type" in payload: diff --git a/parsedmarc/constants.py b/parsedmarc/constants.py index 9fc1c56..94a103a 100644 --- a/parsedmarc/constants.py +++ b/parsedmarc/constants.py @@ -1,2 +1,2 @@ -__version__ = "8.19.0" +__version__ = "8.19.1" USER_AGENT = f"parsedmarc/{__version__}"