AppendMessage

AppendMessage (1 of 2)

Directly appends a message into INBOX similar to IMAP APPEND, bypassing most scanning and classification. Does not send a message.

Returns: The Id of appended message.

AppendMessage(System::SharedPtr < MailMessage > msg)
ParameterDescription
msgMailMerssage that will be appended.

AppendMessage (2 of 2)

Directly appends a message into only this user’s mailbox similar to IMAP APPEND, bypassing most scanning and classification. Does not send a message.

Returns: The Id of appended message.

AppendMessage(System::SharedPtr < MailMessage > msg, System::String labelName)
ParameterDescription
msgMailMerssage that will be appended.
labelNameThe name of Label that will be appplied to appended message.If name null or empty then label INBOX will be applied.