MessageObject Class

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.
Inheritance Hierarchy
SystemObject
  Aspose.Email.Mapi.MsgMessageObject

Namespace:  Aspose.Email.Mapi.Msg
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public sealed class MessageObject : IMessageObjectPropertyContainer

The MessageObject type exposes the following members.

Constructors
  NameDescription
Public methodMessageObject(Stream, MessageObjectLoadFormat)
Initializes a new instance of the MessageObject class.
Public methodMessageObject(String, MessageObjectLoadFormat)
Initializes a new instance of the MessageObject class.
Properties
  NameDescription
Public propertyAttachments
Gets the attachments of the MessageObject.
Public propertyCodepage
Gets the codepage used to encode/decode string properties in case PT_STRING8 type for them is used.
Public propertyProperties
Gets the properties of the MessageObject.
Public propertyRecipients
Gets the recipients of the MessageObject.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetIdForNamedProperty
Gets 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.
Public methodGetType (Inherited from Object.)
Public methodSave(Stream, MessageObjectSaveFormat)
Saves the current message object to the specified stream.
Public methodSave(String, MessageObjectSaveFormat)
Saves the current message object to the specified file.
Public methodToString (Inherited from Object.)
See Also