Downloads the specified part of the message. Used to download separate attachments.
Call GetMessageInfo(String, ImapListFields) with ImapListFields.MessageStructure argument
to download the list of sections and access it using GetParts()()()() method.
Namespace:
Rebex.Net
Assembly:
Rebex.Imap (in Rebex.Imap.dll)
Syntax
Visual Basic |
---|
Public Function GetMessagePart ( _ sequenceNumber As Integer, _ partId As String _ ) As Byte() |
C# |
---|
public byte[] GetMessagePart( int sequenceNumber, string partId ) |
Parameters
- sequenceNumber
- Type: System..::..Int32
Message sequence number.
- partId
- Type: System..::..String
Message section (from Id).