Class MessageObject
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.
public sealed class MessageObject : IMessageObjectPropertyContainer
Constructors
Name | Description |
---|
MessageObject(Stream, MessageObjectLoadFormat) | Initializes a new instance of the MessageObject class. |
MessageObject(string, MessageObjectLoadFormat) | Initializes a new instance of the MessageObject class. |
Properties
Name | Description |
---|
Attachments { get; } | Gets the attachments of the MessageObject . |
Codepage { get; } | Gets the codepage used to encode/decode string properties in case PT_STRING8 type for them is used. |
Properties { get; } | Gets the properties of the MessageObject . |
Recipients { get; } | Gets the recipients of the MessageObject . |
Methods
Name | Description |
---|
GetIdForNamedProperty() | 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. |
Save(Stream, MessageObjectSaveFormat) | Saves the current message object to the specified stream. |
Save(string, MessageObjectSaveFormat) | Saves the current message object to the specified file. |
See Also