ImapClient.SaveMessage
SaveMessage(IConnection, int, Stream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
public void SaveMessage(IConnection connection, int sequenceNumber, Stream resultStream)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
resultStream | Stream | Stream that will receive the message |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(IConnection, string, Stream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
public void SaveMessage(IConnection connection, string uniqueId, Stream resultStream)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique Id of the message |
resultStream | Stream | Stream that will receive the message |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(IConnection, string, string)
Downloads the message with the specified sequence number and writes its data into a local file
public void SaveMessage(IConnection connection, string uniqueId, string fileName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The unique Id of the message |
fileName | String | The path of the local file. This cannot be a directory |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(IConnection, int, string)
Downloads the message with the specified sequence number and writes its data into a local file
public void SaveMessage(IConnection connection, int sequenceNumber, string fileName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
fileName | String | The path of the local file. This cannot be a directory |
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(int, Stream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
public void SaveMessage(int sequenceNumber, Stream resultStream)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
resultStream | Stream | Stream that will receive the message |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(string, Stream)
Downloads the message with the specified sequence number and writes its data into a supplied stream
public void SaveMessage(string uniqueId, Stream resultStream)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique Id of the message |
resultStream | Stream | Stream that will receive the message |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(string, string)
Downloads the message with the specified sequence number and writes its data into a local file
public void SaveMessage(string uniqueId, string fileName)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The unique Id of the message |
fileName | String | The path of the local file. This cannot be a directory |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
SaveMessage(int, string)
Downloads the message with the specified sequence number and writes its data into a local file
public void SaveMessage(int sequenceNumber, string fileName)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
fileName | String | The path of the local file. This cannot be a directory |
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email