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

Inline attachments (incorrectly?) classified as Binary #70

Open
sftse opened this issue Dec 12, 2023 · 0 comments · May be fixed by #71
Open

Inline attachments (incorrectly?) classified as Binary #70

sftse opened this issue Dec 12, 2023 · 0 comments · May be fixed by #71

Comments

@sftse
Copy link
Contributor

sftse commented Dec 12, 2023

The inline images in this email are PartType::Binary instead of PartType::InlineBinary, is this intended behavior?

From: X <X@X.org>
To: Y <Y@Y.org>
Date: Mon, 13 Feb 2018 12:00:00 -0400
Subject: Example inline
Mime-Version: 1.0
Content-Type: multipart/related; boundary="_005_C4D89E21F64B_"

--_005_C4D89E21F64B_
Content-Type: multipart/alternative;
	boundary="_000_C4D89E21F64B_"


--_000_C4D89E21F64B_
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

[cid:3302530593_302033]

[cid:3302530593_275216]

--_000_C4D89E21F64B_
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<IMG src=3D"cid:3302530593_302033" >
<IMG src=3D"cid:3302530593_275216" >
</BODY>
</HTML>

--_000_C4D89E21F64B_--

--_005_C4D89E21F64B_
Content-Type: image/jpeg
Content-Transfer-Encoding: plain
Content-Disposition: inline;
	filename="image.jpg"
Content-Description: image.jpg
Content-ID: <3302530593_302033>

A

--_005_C4D89E21F64B_
Content-Type: image/jpeg
Content-Transfer-Encoding: plain
Content-Disposition: inline;
	filename="image.jpg"
Content-Description: image.jpg
Content-ID: <3302530593_275216>

B

--_005_C4D89E21F64B_--
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 a pull request may close this issue.

1 participant