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

Support for binary body without 'Content-Disposition' header. #29

Merged
merged 1 commit into from
Jun 24, 2017
Merged

Support for binary body without 'Content-Disposition' header. #29

merged 1 commit into from
Jun 24, 2017

Conversation

davrux
Copy link
Contributor

@davrux davrux commented Jun 19, 2017

The following mail was interpreted as non binary message body:

To: bob@test.com
From: alice@test.com
Subject: Test
Message-ID: 56A0AA5F.4020203@test.com
Date: Thu, 21 Jan 2016 10:52:31 +0100
MIME-Version: 1.0
Content-Type: application/pdf;
name="doc.pdf"
Content-Transfer-Encoding: base64

iVBORw0KGgoAA...

This is an attachment only mail without a Content-Disposition-Header.
Added Support to detect this.

The following mail was interpreted as non binary message body:

To: bob@test.com
From: alice@test.com
Subject: Test
Message-ID: <56A0AA5F.4020203@test.com>
Date: Thu, 21 Jan 2016 10:52:31 +0100
MIME-Version: 1.0
Content-Type: application/pdf;
 name="doc.pdf"
Content-Transfer-Encoding: base64

iVBORw0KGgoAA...

This is an attachment only mail without a Content-Disposition-Header.
Added Support to detect this.
@coveralls
Copy link

coveralls commented Jun 19, 2017

Coverage Status

Coverage increased (+0.1%) to 85.963% when pulling d5faa67 on davrux:binarybody into b6ea523 on jhillyerd:develop.

@jhillyerd jhillyerd merged commit f9cb439 into jhillyerd:develop Jun 24, 2017
@jhillyerd
Copy link
Owner

Thank you!

@davrux davrux deleted the binarybody branch June 25, 2017 12:02
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

Successfully merging this pull request may close these issues.

None yet

3 participants