AppendMessages

ImapClient.AppendMessages method (1 of 4)

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)
Parameter Type Description
connection IConnection Connection to a server
messages IEnumerable`1 Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also


ImapClient.AppendMessages method (2 of 4)

Uploads the mail message to the specified folder

public AppendMessagesResult AppendMessages(IConnection connection, string folderName, 
    IEnumerable<MailMessage> messages)
Parameter Type Description
connection IConnection Connection to a server
folderName String Folder that will receive the mail message
messages IEnumerable`1 Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also


ImapClient.AppendMessages method (3 of 4)

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)
Parameter Type Description
messages IEnumerable`1 Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also


ImapClient.AppendMessages method (4 of 4)

Uploads the mail message to the specified folder

public AppendMessagesResult AppendMessages(string folderName, IEnumerable<MailMessage> messages)
Parameter Type Description
folderName String Folder that will receive the mail message
messages IEnumerable`1 Enumeration of email messages to be upload

Return Value

An unique id of appended message

See Also