Skip attachments in ImapClient.GetMessage

Downloading multiple messages using ImapClient.GetMessage may take very long depending on the size of attachments.

Is it possible not to download the attachments if only the email subject and body are of interest?

Hi Thomas,

The ImapClient currently doesn’t provide such feature.
Nevertheless, we’re now investigating this requirement and I’ll contact you again later.

Regards,
Mario

Hi,

In the latest version of GemBox.Email we have added an overload ImapClient.GetMessage(Int32, Boolean) and ImapClient.GetMessage(String, Boolean) with which you can specify if attachments should be omitted.

Regards,
Mario