Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to extract few details #229

Open
dattajoshi opened this issue Jun 17, 2019 · 0 comments
Open

Unable to extract few details #229

dattajoshi opened this issue Jun 17, 2019 · 0 comments

Comments

@dattajoshi
Copy link

Hello, my email file is something like this

--2e7afb549ffdcfab2d1bf09734d0aa08301e743297b3555c9186a44641
Content-Disposition: inline
Content-Type: message/feedback-report
Content-Transfer-Encoding: 7bit

Arrival-Date: Thu, 04 Apr 2019 13:51:36 +0000
Original-Rcpt-To: edb2a3024ca24e124d704e1a0675e38d@comcast.net
Original-Mail-From: bounces+6123900-a8b3-a_psaunders13=3Dcomcast.net@mail=
.example.io
Reported-Domain: mail.example.io
Source: Comcast
Abuse-Type: complaint
User-Agent: ReturnPathFBL/2.0
Version: 1
Subscription-Link: https://fbl.returnpath.net/manage/subscriptions/54678
Feedback-Type: abuse
Source-Ip: 122.345.788

--2e7afb549ffdcfad0aa08301e743297b3555c9186a44641

If I do use the headers, I can only get 3 Content-Disposition, Content-Type, Content-Transfer-Encoding

But the part from "Arrival-Date" is not being parsed, I thought if it's body, so tried parts.body as well, But had no luck.

Help needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant