Downloads the specified part of the message into the specified stream. 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 Sub GetMessagePart ( _ uniqueId As String, _ partId As String, _ output As Stream _ ) |
C# |
---|
public void GetMessagePart( string uniqueId, string partId, Stream output ) |
Parameters
- uniqueId
- Type: System..::..String
Message unique ID.
- partId
- Type: System..::..String
Message section (from Id).
- output
- Type: System.IO..::..Stream
Stream that will receive the part data.