jstedfast / MailKit

A cross-platform .NET library for IMAP, POP3, and SMTP.

Home Page:http://www.mimekit.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I receive a IMAP message with meta data and message (text and html), but without attachments

AdvancedNotifier opened this issue · comments

I can get a message with ImapFolder.GetMessage for a specific UniqueId.

But with this, I receive the whole message with all attachments. Is there a way to receive everything, but without the attachments?

The example in the following link could be used as a baseline for doing what you want to do:

http://mimekit.net/docs/html/P_MailKit_MessageSummary_TextBody.htm

Thank you, this information was what I'm looking for.