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
210 stars 112 forks source link

How to get message body and only size of all attachment without downloading all attachments #83

Open dibyamani opened 10 years ago

dibyamani commented 10 years ago

Hi thanks for the great library.

Could you please help me to get message body? Attachments shouldn't be downloaded but required the name and sizes of all attachments in the message along with message body.

jstedfast commented 10 years ago

You probably want to start with this sample and then modify the delegate function to only fetch the body part(s) that you want:

https://github.com/smiley22/S22.Imap/blob/master/Examples.md#7