ImapClientAppendMessageAsync Method (IConnection, MailMessage)

Uploads the mail message to the current folder If current folder hasn't been specified default folder is used.

Namespace:  Aspose.Email.Clients.Imap
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 22.4
Syntax
public Task<string> AppendMessageAsync(
	IConnection connection,
	MailMessage message
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
message
Type: Aspose.EmailMailMessage
Mail message to be upload

Return Value

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