ImapClient.AppendMessageAsync

AppendMessageAsync(IConnection, MailMessage)

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

public Task<string> AppendMessageAsync(IConnection connection, MailMessage message)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageMailMessageMail message to be upload

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, string, MailMessage)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(IConnection connection, string folderName, 
    MailMessage message)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder that will receive the mail message
messageMailMessageMail message to be upload

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, string)

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

public Task<string> AppendMessageAsync(IConnection connection, string fileName)
ParameterTypeDescription
connectionIConnectionConnection to a server
fileNameStringFile name (*.eml) of the mail message that will be uploaded

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, string, string)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(IConnection connection, string folderName, string fileName)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder that will receive the mail message
fileNameStringFile name (*.eml) of the mail message that will be uploaded

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(MailMessage)

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

public Task<string> AppendMessageAsync(MailMessage message)
ParameterTypeDescription
messageMailMessageMail message to be upload

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(string, MailMessage)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(string folderName, MailMessage message)
ParameterTypeDescription
folderNameStringFolder that will receive the mail message
messageMailMessageMail message to be upload

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(string)

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

public Task<string> AppendMessageAsync(string fileName)
ParameterTypeDescription
fileNameStringFile name (*.eml) of the mail message that will be uploaded

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(string, string)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(string folderName, string fileName)
ParameterTypeDescription
folderNameStringFolder that will receive the mail message
fileNameStringFile name (*.eml) of the mail message that will be uploaded

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, MailMessage, CancellationToken)

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

public Task<string> AppendMessageAsync(IConnection connection, MailMessage message, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageMailMessageMail message to be upload
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, string, MailMessage, CancellationToken)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(IConnection connection, string folderName, 
    MailMessage message, CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder that will receive the mail message
messageMailMessageMail message to be upload
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, string, CancellationToken)

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

public Task<string> AppendMessageAsync(IConnection connection, string fileName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
fileNameStringFile name (*.eml) of the mail message that will be uploaded
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(IConnection, string, string, CancellationToken)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(IConnection connection, string folderName, string fileName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
folderNameStringFolder that will receive the mail message
fileNameStringFile name (*.eml) of the mail message that will be uploaded
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(MailMessage, CancellationToken)

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

public Task<string> AppendMessageAsync(MailMessage message, CancellationToken token)
ParameterTypeDescription
messageMailMessageMail message to be upload
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(string, MailMessage, CancellationToken)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(string folderName, MailMessage message, 
    CancellationToken token)
ParameterTypeDescription
folderNameStringFolder that will receive the mail message
messageMailMessageMail message to be upload
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(string, CancellationToken)

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

public Task<string> AppendMessageAsync(string fileName, CancellationToken token)
ParameterTypeDescription
fileNameStringFile name (*.eml) of the mail message that will be uploaded
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


AppendMessageAsync(string, string, CancellationToken)

Uploads the mail message to the specified folder

public Task<string> AppendMessageAsync(string folderName, string fileName, CancellationToken token)
ParameterTypeDescription
folderNameStringFolder that will receive the mail message
fileNameStringFile name (*.eml) of the mail message that will be uploaded
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also