Skip to content

Move header filtering from MimeMessageParser to EmailConverter, thereby enabling access to all parsed headers when using MimeMessageParser directly #487

@erosinnocenti

Description

@erosinnocenti

Hi, first of all, thank you for this great library.
I'm opening this issue to ask if there are any possibility to tweak the ignored headers list used by the MimeMessageParser.
I'm asking this because I'm in a situation where I need to parse an .eml file and retrieve all the "Received" headers.
After a bit of debugging I found the HEADERS_TO_IGNORE list in MimeMessageParser.java which contains all the ignored headers.
Is there any possibility to customize this behaviour?
Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions