ImapClientAppendMessages Method (IConnection, IEnumerableMailMessage)

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 AppendMessagesResult AppendMessages(
	IConnection connection,
	IEnumerable<MailMessage> messages
)

Parameters

connection
Type: Aspose.Email.ClientsIConnection
Connection to a server
messages
Type: System.Collections.GenericIEnumerableMailMessage
Enumeration of email messages to be upload

Return Value

Type: AppendMessagesResult
An unique id of appended message
See Also