ImapClientAppendMessageAsync Method (String, String, CancellationToken) |
Uploads the mail message to the specified folder
Namespace:
Aspose.Email.Clients.Imap
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntaxpublic Task<string> AppendMessageAsync(
string folderName,
string fileName,
CancellationToken token
)
Public Function AppendMessageAsync (
folderName As String,
fileName As String,
token As CancellationToken
) As Task(Of String)
public:
Task<String^>^ AppendMessageAsync(
String^ folderName,
String^ fileName,
CancellationToken token
)
member AppendMessageAsync :
folderName : string *
fileName : string *
token : CancellationToken -> Task<string>
Parameters
- folderName
- Type: SystemString
Folder that will receive the mail message - fileName
- Type: SystemString
File name (*.eml) of the mail message that will be uploaded - token
- Type: System.ThreadingCancellationToken
Propagates notification that operations should be canceled.
Return Value
Type:
TaskStringTask object, with delegate for this operation
See Also