IEWSClient.AppendMessage

AppendMessage(MapiMessage)

Uploads the mail message to the specified folder

public string AppendMessage(MapiMessage mapiMessage)
ParameterTypeDescription
mapiMessageMapiMessageA message to upload

Return Value

An uri of created message

See Also


AppendMessage(MapiMessage, bool)

Uploads the mail message to the specified folder

public string AppendMessage(MapiMessage mapiMessage, bool markAsSent)
ParameterTypeDescription
mapiMessageMapiMessageA 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

See Also


AppendMessage(string, MapiMessage, bool)

Uploads the mail message to the specified folder

public string AppendMessage(string folderUri, MapiMessage mapiMessage, bool markAsSent)
ParameterTypeDescription
folderUriStringA folder URI to which message is uploaded.
mapiMessageMapiMessageA 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
AsposeArgumentNullExceptionmapiMessage is null

See Also


AppendMessage(MailMessage)

Uploads the mail message to the Inbox folder

public string AppendMessage(MailMessage message)
ParameterTypeDescription
messageMailMessageA message to upload

Return Value

An uri of created message

See Also


AppendMessage(string, MailMessage)

Uploads the mail message to the specified folder

public string AppendMessage(string folderUri, MailMessage message)
ParameterTypeDescription
folderUriStringA folder URI to which message is uploaded.
messageMailMessageA message to upload

Return Value

An uri of created message

See Also