ImapClientSaveMessageAsync Method (Int32, String)

Downloads the message with the specified sequence number and writes its data into a local file

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task SaveMessageAsync(
	int sequenceNumber,
	string fileName
)

Parameters

sequenceNumber
Type: SystemInt32
The sequence number of the message
fileName
Type: SystemString
The path of the local file. This cannot be a directory

Return Value

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