public List<Attachment> DownloadNativeAttachments( string attachmentIds, bool ignoreInlineAttachments )
Public Function DownloadNativeAttachments ( attachmentIds As String(), ignoreInlineAttachments As Boolean ) As List(Of Attachment)
This is the advanced method which deals directly with EWS Managed API objects and types.
To get the list of attachment IDs (which you can supply to this method), you'll need to use a method like DownloadItem(ItemId, EwsItemParts) with MailMessageAttachments flag set and then examine Attachments collection of NativeMessage object.
|To simply get e-mail message with all attachments, use DownloadEntireMessage(ItemId) method. It will return the message with attachments collection in the same way Imap and Pop3 components do. method, however, returns attachment objects using native MS Exchange types, not MailBee types. This can be useful for advanced purposes if you need to extract MS Exchange specific data from them.|