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
Syntaxpublic Task SaveMessageAsync(
int sequenceNumber,
string fileName
)
Public Function SaveMessageAsync (
sequenceNumber As Integer,
fileName As String
) As Task
public:
Task^ SaveMessageAsync(
int sequenceNumber,
String^ fileName
)
member SaveMessageAsync :
sequenceNumber : int *
fileName : string -> Task
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:
TaskTask object, with delegate for this operation
See Also