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)
ParameterDescription
sequenceNumberThe sequence number of the message
resultStreamStream 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)
ParameterDescription
sequenceNumberThe sequence number of the message
fileNameThe 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)
ParameterDescription
connectionConnection to a server
sequenceNumberThe sequence number of the message
resultStreamStream 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)
ParameterDescription
connectionConnection to a server
sequenceNumberThe sequence number of the message
fileNameThe 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)
ParameterDescription
connectionConnection to a server
uniqueIdThe unique Id of the message
resultStreamStream 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)
ParameterDescription
connectionConnection to a server
uniqueIdThe unique Id of the message
fileNameThe 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)
ParameterDescription
uniqueIdThe unique Id of the message
resultStreamStream 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)
ParameterDescription
uniqueIdThe unique Id of the message
fileNameThe path of the local file. This cannot be a directory