Describe the bug
Mailparser 4.0.0 fails to parse an email that can be parsed in 3.15.0
To Reproduce
Steps to reproduce the behavior:
import mailparser
mail = mailparser.parse_from_string(s)
Expected behavior
The email should be parsed
Raw mail
(https://github.com/domainaware/parsedmarc/blob/master/samples/forensic/%5BNetease%20DMARC%20Failure%20Report%5D%20Rent%20Reminder.eml)
Environment
- OS: Linux
- Docker: No
- mail-parser version 4.0.0
Additional context
See https://github.com/domainaware/parsedmarc/actions/runs/11507562125/job/32033986931#step:8:223
Describe the bug
Mailparser 4.0.0 fails to parse an email that can be parsed in 3.15.0
To Reproduce
Steps to reproduce the behavior:
import mailparsermail = mailparser.parse_from_string(s)Expected behavior
The email should be parsed
Raw mail
(https://github.com/domainaware/parsedmarc/blob/master/samples/forensic/%5BNetease%20DMARC%20Failure%20Report%5D%20Rent%20Reminder.eml)
Environment
Additional context
See https://github.com/domainaware/parsedmarc/actions/runs/11507562125/job/32033986931#step:8:223