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.
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
overrides the "Received" header x times and return only the last one.
I could submit a PR, just need your opinion on this.