Skip to content

Regression: Mailparser 4.0.0 fails to parse an email that can be parsed in 3.15.0 #123

@seanthegeek

Description

@seanthegeek

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:

  1. import mailparser
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions