Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

Attachments from iPhones don't always populate the Attachments collection #155

Open
Cereal-Killa opened this issue Mar 28, 2019 · 3 comments

Comments

@Cereal-Killa
Copy link

Cereal-Killa commented Mar 28, 2019

Noticed today that an email sent from an iPhone containing an image had the Attachments count set to zero, when I debugged I saw this:

2019-03-28_17-00-16

The email per se:

2019-03-28_17-02-09

Debug info:

Content-Type: multipart/mixed; boundary=Apple-Mail-12698C66-389B-4B2C-B704-257C23120CFC
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (1.0)
Date: Thu, 28 Mar 2019 09:47:24 -0400
X-Mailer: iPhone Mail (16D57)

--Apple-Mail-12698C66-389B-4B2C-B704-257C23120CFC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

--Apple-Mail-12698C66-389B-4B2C-B704-257C23120CFC
Content-Type: image/jpeg; name=IMG_4780.JPG; x-apple-part-url=264D8752-4076-4227-ADAF-72C6C38054F7
Content-Disposition: inline; filename=IMG_4780.JPG
Content-Transfer-Encoding: base64

--Apple-Mail-12698C66-389B-4B2C-B704-257C23120CFC
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sent from my iPhone
--Apple-Mail-12698C66-389B-4B2C-B704-257C23120CFC--

Is this a known issue or limitation?
Thank you

@NiKiZe
Copy link
Contributor

NiKiZe commented Mar 28, 2019

Inline files are not attachments, but instead alternateviews (if I'm not misstaken)
I'm sure you can find other issues about this as well.

But due not that this project have been abandoned for quite some time at this point.

@Cereal-Killa
Copy link
Author

Inline files are not attachments, but instead alternateviews (if I'm not misstaken)
I'm sure you can find other issues about this as well.

But due not that this project have been abandoned for quite some time at this point.

I checked and there was just one alternateview containing the message body (text) but I guess I'll have to move to another project, do you recommend any?

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

No branches or pull requests

3 participants
@NiKiZe @Cereal-Killa and others