Skip to content

Multiple Received headers #13

Description

@janvarljen

I noticed an issue when email has multiple "Received" headers.

The extract_headers method

https://github.com/bradpauly/griddler-mailgun/blob/master/lib%2Fgriddler%2Fmailgun%2Fadapter.rb#L51

i.e. the line

parsed_headers.each{ |h| extracted_headers[h[0]] = h[1] }

overrides the "Received" header x times and return only the last one.

I could submit a PR, just need your opinion on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions