SaveMessage
SaveMessage (1 of 8)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream)
| Parameter | Description |
|---|---|
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |
SaveMessage (2 of 8)
Downloads the message with the specified sequence number and writes its data into a local file
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(int32_t sequenceNumber, System::String fileName)
| Parameter | Description |
|---|---|
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |
SaveMessage (3 of 8)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::SharedPtr < System::IO::Stream > resultStream)
| Parameter | Description |
|---|---|
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| resultStream | Stream that will receive the message |
SaveMessage (4 of 8)
Downloads the message with the specified sequence number and writes its data into a local file
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(System::SharedPtr < IConnection > connection, int32_t sequenceNumber, System::String fileName)
| Parameter | Description |
|---|---|
| connection | Connection to a server |
| sequenceNumber | The sequence number of the message |
| fileName | The path of the local file. This cannot be a directory |
SaveMessage (5 of 8)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream)
| Parameter | Description |
|---|---|
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |
SaveMessage (6 of 8)
Downloads the message with the specified sequence number and writes its data into a local file
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(System::SharedPtr < IConnection > connection, System::String uniqueId, System::String fileName)
| Parameter | Description |
|---|---|
| connection | Connection to a server |
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |
SaveMessage (7 of 8)
Downloads the message with the specified sequence number and writes its data into a supplied stream
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(System::String uniqueId, System::SharedPtr < System::IO::Stream > resultStream)
| Parameter | Description |
|---|---|
| uniqueId | The unique Id of the message |
| resultStream | Stream that will receive the message |
SaveMessage (8 of 8)
Downloads the message with the specified sequence number and writes its data into a local file
Returns: void Aspose::Email::Clients::Imap::
SaveMessage(System::String uniqueId, System::String fileName)
| Parameter | Description |
|---|---|
| uniqueId | The unique Id of the message |
| fileName | The path of the local file. This cannot be a directory |