ImapClientSaveMessageAsync Method (String, Stream)

Downloads the message with the specified sequence number and writes its data into a supplied stream

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task SaveMessageAsync(
	string uniqueId,
	Stream resultStream
)

Parameters

uniqueId
Type: SystemString
The unique Id of the message
resultStream
Type: System.IOStream
Stream that will receive the message

Return Value

Type: Task
Task object, with delegate for this operation
See Also