ImapClient.AppendMessage

AppendMessage(IConnection, MailMessage)

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

public string AppendMessage(IConnection connection, MailMessage message)
ParameterTypeDescription
connectionIConnectionConnection to a server
messageMailMessageMail message to be upload

Return Value

An unique id of appended message

See Also


AppendMessage(IConnection, string, MailMessage)

Uploads the mail message to the specified folder

public string AppendMessage(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

An unique id of appended message

See Also


AppendMessage(IConnection, string)

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

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

Return Value

An unique id of appended message

See Also


AppendMessage(IConnection, string, string)

Uploads the mail message to the specified folder

public string AppendMessage(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

An unique id of appended message

See Also


AppendMessage(MailMessage)

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

public string AppendMessage(MailMessage message)
ParameterTypeDescription
messageMailMessageMail message to be upload

Return Value

An unique id of appended message

See Also


AppendMessage(string, MailMessage)

Uploads the mail message to the specified folder

public string AppendMessage(string folderName, MailMessage message)
ParameterTypeDescription
folderNameStringFolder that will receive the mail message
messageMailMessageMail message to be upload

Return Value

An unique id of appended message

See Also


AppendMessage(string)

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

public string AppendMessage(string fileName)
ParameterTypeDescription
fileNameStringFile name (*.eml) of the mail message that will be uploaded

Return Value

An unique id of appended message

See Also


AppendMessage(string, string)

Uploads the mail message to the specified folder

public string AppendMessage(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

An unique id of appended message

See Also