ExchangeClient.AppendMessage

AppendMessage(string, MailMessage)

Uploads the mail message to the specified folder

public string AppendMessage(string folder, MailMessage message)
ParameterTypeDescription
folderStringA folder to which message is uploaded
messageMailMessageA message to upload

Return Value

An uri of created message

Exceptions

exceptioncondition
AsposeArgumentExceptionA folder is not specified
AsposeArgumentNullExceptionmessage is null

See Also


AppendMessage(string, MailMessage, bool)

Uploads the mail message to the specified folder

public string AppendMessage(string folder, MailMessage message, bool markAsSent)
ParameterTypeDescription
folderStringAn uri of folder to which message is uploaded
messageMailMessageA message to upload
markAsSentBooleanA value indicating whether the message should be appended as a sent message or a draft.

Return Value

An uri of created message

Exceptions

exceptioncondition
AsposeArgumentExceptionA folder is not specified
AsposeArgumentNullExceptionmessage is null

See Also