MessageObject

MessageObject class

Inherits: Aspose::Email::Mapi::Msg::IMessageObjectPropertyContainer

Represents an Outlook message object. Evaluation limits: only 1 attachment and 1 recipient are read when message is being loaded, watermark will be added when the message is being saved.

Constructors

NameDescription
MessageObject (3 overloads)Initializes a new instance of the MessageObject class, used internally for embedded messages.

Methods

NameDescription
get_AttachmentsGets the attachments of the MessageObject .
get_CodepageGets the codepage used to encode/decode string properties in case MapiType::PT_STRING8 type for them is used.
get_PropertiesGets the properties of the MessageObject .
get_RecipientsGets the recipients of the MessageObject .
GetIdForNamedPropertyGets the id to be used for named property, named properties are special properties and should have their ids in range [0x8000,0xfffe] aligned starting from 0x8000 sequentally. Use this method to find the available id cause it could be hard to calculate it yourself.
Save (2 overloads)Saves the current message object to the specified stream.