AppendMessagesAsync

ImapClient.AppendMessagesAsync method (1 of 8)

Uploads the mail messages to the current folder

public Task<AppendMessagesResult> AppendMessagesAsync(IConnection connection, string folderName, 
    IEnumerable<MailMessage> messages, CancellationToken token)
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
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (2 of 8)

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

public Task<AppendMessagesResult> AppendMessagesAsync(IEnumerable<MailMessage> messages, 
    CancellationToken token)
Parameter Type Description
messages IEnumerable`1 Enumeration of email messages to be upload
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (3 of 8)

Uploads the mail messages to the current folder

public Task<AppendMessagesResult> AppendMessagesAsync(string folderName, 
    IEnumerable<MailMessage> messages, CancellationToken token)
Parameter Type Description
folderName String Folder that will receive the mail message
messages IEnumerable`1 Enumeration of email messages to be upload
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (4 of 8)

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

public Task<AppendMessagesResult> AppendMessagesAsync(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

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (5 of 8)

Uploads the mail messages to the current folder

public Task<AppendMessagesResult> AppendMessagesAsync(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

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (6 of 8)

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

public Task<AppendMessagesResult> AppendMessagesAsync(IEnumerable<MailMessage> messages)
Parameter Type Description
messages IEnumerable`1 Enumeration of email messages to be upload

Return Value

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (7 of 8)

Uploads the mail messages to the current folder

public Task<AppendMessagesResult> AppendMessagesAsync(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

Task object, with delegate for this operation

See Also


ImapClient.AppendMessagesAsync method (8 of 8)

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

public Task<AppendMessagesResult> AppendMessagesAsync(IConnection connection, 
    IEnumerable<MailMessage> messages, CancellationToken token)
Parameter Type Description
connection IConnection Connection to a server
messages IEnumerable`1 Enumeration of email messages to be upload
token CancellationToken Propagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also