smiley22 / S22.Imap

A free, easy-to-use and well-documented .NET library component for communicating with IMAP servers
http://smiley22.github.com/S22.Imap/Documentation/
MIT License
211 stars 115 forks source link

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

Open Cereal-Killa opened 5 years ago

Cereal-Killa commented 5 years ago

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 commented 5 years ago

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 commented 5 years ago

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?