ImapClient.AppendMessages

AppendMessages(string, IEnumerable<MailMessage>)

Uploads the mail message to the specified folder

public AppendMessagesResult AppendMessages(string folderName, IEnumerable<MailMessage> messages)
ParameterTypeDescription
folderNameStringFolder that will receive the mail message
messagesIEnumerable`1Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also


AppendMessages(IConnection, IEnumerable<MailMessage>)

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

public AppendMessagesResult AppendMessages(IConnection connection, 
    IEnumerable<MailMessage> messages)
ParameterTypeDescription
connectionIConnectionConnection to a server
messagesIEnumerable`1Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also


AppendMessages(IConnection, string, IEnumerable<MailMessage>)

Uploads the mail message to the specified folder

public AppendMessagesResult AppendMessages(IConnection connection, string folderName, 
    IEnumerable<MailMessage> messages)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder that will receive the mail message
messagesIEnumerable`1Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also


AppendMessages(IEnumerable<MailMessage>)

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

public AppendMessagesResult AppendMessages(IEnumerable<MailMessage> messages)
ParameterTypeDescription
messagesIEnumerable`1Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also