Represents the base class for all MapiMessageItem classes and keeps common collections of mapi properties, attachments, recipients. More...
Inherits Aspose::Email::Mapi::MapiPropertyContainer, Aspose::Email::Mapi::IMapiMessageItem, and IDisposable.
Inherited by Aspose::Email::Mapi::FINAL, Aspose::Email::Mapi::FINAL, Aspose::Email::Mapi::FINAL, Aspose::Email::Mapi::FINAL, Aspose::Email::Mapi::FINAL, Aspose::Email::Mapi::FINAL, and Aspose::Email::Mapi::MapiTask.
Public Member Functions | |
virtual ASPOSE_EMAIL_SHARED_API System::String | get_ItemId () |
The item id, uses with a server More... | |
virtual ASPOSE_EMAIL_SHARED_API void | set_ItemId (System::String value) |
The item id, uses with a server More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiAttachmentCollection > | get_Attachments () |
Gets the attachments in the message. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Attachments (System::SharedPtr< MapiAttachmentCollection > value) |
Gets the attachments in the message. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyStream > | get_PropertyStream () |
Gets the property stream. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyCollection > | get_NamedProperties () |
Gets the named properties of message. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiRecipientCollection > | get_Recipients () |
Gets the recipients of the message. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Recipients (System::SharedPtr< MapiRecipientCollection > value) |
Gets the recipients of the message. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyCollection > | get_SubStorages () |
Gets the sub storages. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiNamedPropertyMappingStorage > | get_NamedPropertyMapping () |
Gets the named property mapping. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_SubjectPrefix () |
Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding. More... | |
ASPOSE_EMAIL_SHARED_API BodyContentType | get_BodyType () |
Gets the type of the body. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_BodyRtf () |
Gets the RTF formatted message text. More... | |
ASPOSE_EMAIL_SHARED_API void | set_BodyRtf (System::String value) |
Sets the RTF formatted message text. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_BodyHtml () |
Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string. More... | |
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_Companies () |
Contains the names of the companies that are associated with an item. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Companies (System::ArrayPtr< System::String > value) |
Contains the names of the companies that are associated with an item. More... | |
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< System::String > | get_Categories () |
Contains keywords or categories for the message object. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Categories (System::ArrayPtr< System::String > value) |
Contains keywords or categories for the message object. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_Mileage () |
Contains the mileage information that is associated with an item. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Mileage (System::String value) |
Contains the mileage information that is associated with an item. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_Billing () |
Contains the billing information associated with an item. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Billing (System::String value) |
Contains the billing information associated with an item. More... | |
ASPOSE_EMAIL_SHARED_API Aspose::Email::Storage::Pst::MapiSensitivity | get_Sensitivity () |
Gets the Sensitivity. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Sensitivity (Aspose::Email::Storage::Pst::MapiSensitivity value) |
Gets the Sensitivity. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_MessageClass () |
Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. More... | |
ASPOSE_EMAIL_SHARED_API void | set_MessageClass (System::String value) |
Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_Body () |
Gets the message text. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Body (System::String value) |
Gets the message text. More... | |
ASPOSE_EMAIL_SHARED_API System::String | get_Subject () |
Gets the subject of the message. More... | |
ASPOSE_EMAIL_SHARED_API void | set_Subject (System::String value) |
Sets the subject of the message. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiProperty > | GetProperty (System::SharedPtr< PropertyDescriptor > pd) |
Gets MAPI property by property descriptor. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | SetProperty (System::SharedPtr< PropertyDescriptor > pd, System::SharedPtr< System::Object > value) |
Sets MAPI property. More... | |
ASPOSE_EMAIL_SHARED_API void | SetStringNamedProperty (System::String value, MapiNamedPropertyId nameId, System::Guid psetId) |
ASPOSE_EMAIL_SHARED_API void | SetsIMapiMessageItemMembers (System::String messageClass, System::String body, System::String subject) |
Sets MessageClass,Body and Subject. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiMessage > | ConvertToMapiMessage () |
Convert item to MapiMessage. Set MessageClass, Subject, Mileage and Billing. More... | |
ASPOSE_EMAIL_SHARED_API void | SetNamedPropertyMapping (System::SharedPtr< MapiNamedPropertyMappingStorage > value) |
Sets the named property mapping. More... | |
ASPOSE_EMAIL_SHARED_API int64_t | GetTagFromNamedProperty (MapiNamedPropertyId propertyId) |
Gets the tag from named property. More... | |
ASPOSE_EMAIL_SHARED_API int64_t | GetTagFromNamedProperty (System::String name) |
Gets the tag from named property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid) |
Adds the named property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, int64_t nameId, System::Guid guid, System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> mvEntries) |
Adds the named property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid) |
Adds the named property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::String nameId, System::Guid guid, System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> mvEntries) |
Adds the named property. More... | |
ASPOSE_EMAIL_SHARED_API int64_t | AddNamedPropertyToEmbeddedMsg (System::SharedPtr< MapiMessage > msg, MapiPropertyType type, System::ArrayPtr< uint8_t > data, System::SharedPtr< System::Object > nameId, System::Guid guid) |
Adds the named property to embedded message. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | SetBodyContent (System::String content, BodyContentType contentType) |
Sets the content of the body. More... | |
ASPOSE_EMAIL_SHARED_API void | SetMessageFlags (MapiMessageFlags flags) |
Sets the message flags. More... | |
ASPOSE_EMAIL_SHARED_API void | RemoveProperty (int64_t tag) |
Provides correctly removing property from all collections. More... | |
ASPOSE_EMAIL_SHARED_API void | UpdateHasAttach () |
Updates the PR_HASATTACH property value. More... | |
ASPOSE_EMAIL_SHARED_API void | UpdateDisplayNames (MapiRecipientType recipientType) |
Updates the display names. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::DateTime value, int64_t nameId, System::Guid guid) |
Adds the named datetime property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::DateTime value, MapiNamedPropertyId nameId, System::Guid guid) |
Adds the named datetime property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (bool value, MapiNamedPropertyId nameId, System::Guid guid) |
Adds the named bool property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (bool value, int64_t nameId, System::Guid guid) |
Adds the named bool property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedPropertyLong (int64_t value, MapiNamedPropertyId nameId, System::Guid guid) |
Adds the named long property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedPropertyLong (int64_t value, int64_t nameId, System::Guid guid) |
Adds the named long property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::String value, OutlookMessageFormat format, MapiNamedPropertyId nameId, System::Guid guid) |
Adds the named string property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::String value, MapiNamedPropertyId nameId, System::Guid guid) |
Adds the named string property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::String value, OutlookMessageFormat format, int64_t nameId, System::Guid guid) |
Adds the named string property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::ArrayPtr< uint8_t > value, int64_t nameId, System::Guid guid) |
Adds the named binary property. More... | |
ASPOSE_EMAIL_SHARED_API void | AddNamedProperty (System::ArrayPtr< uint8_t > value, MapiNamedPropertyId nameId, System::Guid guid) |
Adds the named binary property. More... | |
![]() | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyCollection > | get_Properties () |
Gets the collection of properties. More... | |
virtual ASPOSE_EMAIL_SHARED_API int32_t | get_CodePage () |
Gets the code page. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< System::Text::Encoding > | get_CurrentEncoding () |
ASPOSE_EMAIL_SHARED_API | MapiPropertyContainer () |
Initializes a new instance of the MapiPropertyContainer class. More... | |
ASPOSE_EMAIL_SHARED_API | MapiPropertyContainer (System::SharedPtr< MapiPropertyCollection > properties) |
Initializes a new instance of the MapiPropertyContainer class. More... | |
ASPOSE_EMAIL_SHARED_API System::SharedPtr< MapiPropertyCollection > | GetSubStorages () |
ASPOSE_EMAIL_SHARED_API System::String | TryGetPropertyString (int64_t tag, int32_t codepage) |
Try to get a property data as string with specified tag and code page. More... | |
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > | TryGetPropertyData (int64_t tag) |
Try to get the property data with specified tag key. More... | |
ASPOSE_EMAIL_SHARED_API System::String | TryGetPropertyString (int64_t tag) |
Try to get a property data as string with specified tag. More... | |
ASPOSE_EMAIL_SHARED_API System::String | GetPropertyString (int64_t tag, int32_t codepage) |
Gets the string value of the property specified by tag. More... | |
ASPOSE_EMAIL_SHARED_API System::String | GetPropertyString (int64_t tag) |
Gets the string value of the property specified by tag. More... | |
ASPOSE_EMAIL_SHARED_API System::ArrayPtr< uint8_t > | GetPropertyBytes (int64_t tag) |
Gets the string value of the property specified by tag. More... | |
virtual ASPOSE_EMAIL_SHARED_API void | SetProperty (System::SharedPtr< MapiProperty > value) |
Sets the property. More... | |
ASPOSE_EMAIL_SHARED_API System::Nullable< int32_t > | GetPropertyInt32 (int64_t tag) |
Gets the int32 value of the property specified by tag. More... | |
ASPOSE_EMAIL_SHARED_API System::Nullable< int64_t > | GetPropertyLong (int64_t tag) |
Gets the value of the property specified by tag as Long (int64) type. More... | |
ASPOSE_EMAIL_SHARED_API System::Nullable< int16_t > | GetPropertyShort (int64_t tag) |
Gets the value of the property specified by tag as Short type. More... | |
ASPOSE_EMAIL_SHARED_API System::Nullable< bool > | GetPropertyBoolean (int64_t tag) |
Gets the value of the property specified by tag as Boolean type. More... | |
ASPOSE_EMAIL_SHARED_API System::Nullable< System::DateTime > | GetPropertyDateTime (int64_t key) |
Gets the value of the property specified by tag as DateTime type. More... | |
ASPOSE_EMAIL_SHARED_API bool | IsStoreUnicodeOk () |
Determines if string properties are Unicode encoded or not. More... | |
ASPOSE_EMAIL_SHARED_API bool | TryGetPropertyString (int64_t tag, System::String &value, int32_t codepage) |
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded. More... | |
ASPOSE_EMAIL_SHARED_API bool | TryGetPropertyString (int64_t tag, System::String &value) |
Gets the value of the specified property as String type. A return value indicates whether the operation succeeded. More... | |
ASPOSE_EMAIL_SHARED_API bool | TryGetPropertyDateTime (int64_t tag, System::DateTime &value) |
Gets the value of the specified property as DateTime type. A return value indicates whether the operation succeeded. More... | |
ASPOSE_EMAIL_SHARED_API bool | TryGetPropertyLong (int64_t tag, int64_t &value) |
Gets the value of the specified property as Long type. A return value indicates whether the operation succeeded. More... | |
ASPOSE_EMAIL_SHARED_API bool | TryGetPropertyInt32 (int64_t tag, int32_t &value) |
Gets the value of the specified property as Int32 type. A return value indicates whether the operation succeeded. More... | |
virtual ASPOSE_EMAIL_SHARED_API System::SharedPtr< Nodes::IMapiNode > | CreateMapiNode (System::String key) |
Creates the mapi node. More... | |
ASPOSE_EMAIL_SHARED_API void | SetProperty (int64_t tag, System::ArrayPtr< uint8_t > data) |
Set the property. More... | |
ASPOSE_EMAIL_SHARED_API void | SetProperty (int64_t tag, System::String value, OutlookMessageFormat format) |
Set the string property. More... | |
ASPOSE_EMAIL_SHARED_API void | SetProperty (int64_t tag, System::String value, bool isUnicode) |
Set the string property. More... | |
ASPOSE_EMAIL_SHARED_API void | SetProperty (int64_t tag, System::String value, System::SharedPtr< System::Text::Encoding > nonUnicodeEncoding) |
Set the string property. More... | |
ASPOSE_EMAIL_SHARED_API void | SetProperty (int64_t tag, System::String value) |
Set the string property with CurrentEncoding More... | |
ASPOSE_EMAIL_SHARED_API void | SetProperty (int64_t tag, System::DateTime dateTime) |
Set the datetime property. More... | |
ASPOSE_EMAIL_SHARED_API void | SetPropertyLong (int64_t tag, int64_t value) |
Set the long property. More... | |
Static Public Member Functions | |
static ASPOSE_EMAIL_SHARED_API void | SetPriority (System::SharedPtr< MapiMessageItemBase > message, MailPriority priority) |
Sets MailPriority value for MapiMessageItemBase See more PidTagPriority mapi property: https://msdn.microsoft.com/en-us/library/ee159473(v=exchg.80).aspx See more PidTagImportance mapi property: https://msdn.microsoft.com/en-us/library/ee237166(v=exchg.80).aspx More... | |
Public Attributes | |
System::SharedPtr< MapiNamedPropertyMappingStorage > | namedPropertyMappingStorage |
![]() | |
int32_t | codePage |
System::SharedPtr< MapiPropertyCollection > | propertyDictionary |
Protected Member Functions | |
ASPOSE_EMAIL_SHARED_API | MapiMessageItemBase () |
Initializes a new instance of the MapiMessageItemBase class. More... | |
ASPOSE_EMAIL_SHARED_API | MapiMessageItemBase (System::SharedPtr< MapiPropertyCollection > properties) |
Initializes a new instance of the MapiMessageItemBase class. More... | |
ASPOSE_EMAIL_SHARED_API void | CheckIsDisposed () |
Checks if the object is disposed and raised exception in this case. More... | |
ASPOSE_EMAIL_SHARED_API void | InitNamedPropertyMappingStorage () |
Inits the named property mapping storage. More... | |
virtual ASPOSE_EMAIL_SHARED_API | ~MapiMessageItemBase () |
Protected Attributes | |
System::SharedPtr< MapiAttachmentCollection > | attachments |
System::SharedPtr< MapiRecipientCollection > | recipients |
Additional Inherited Members | |
![]() | |
static const ASPOSE_EMAIL_SHARED_API int32_t | DefaultCodePage |
Represents the base class for all MapiMessageItem classes and keeps common collections of mapi properties, attachments, recipients.
|
protected |
Initializes a new instance of the MapiMessageItemBase class.
|
protected |
Initializes a new instance of the MapiMessageItemBase class.
properties | MapiPropertyCollection |
|
protectedvirtual |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | bool | value, |
int64_t | nameId, | ||
System::Guid | guid | ||
) |
Adds the named bool property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | bool | value, |
MapiNamedPropertyId | nameId, | ||
System::Guid | guid | ||
) |
Adds the named bool property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | MapiPropertyType | type, |
System::ArrayPtr< uint8_t > | data, | ||
int64_t | nameId, | ||
System::Guid | guid | ||
) |
Adds the named property.
type | The data type. |
data | The property data. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | MapiPropertyType | type, |
System::ArrayPtr< uint8_t > | data, | ||
int64_t | nameId, | ||
System::Guid | guid, | ||
System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> | mvEntries | ||
) |
Adds the named property.
type | The data type. |
data | The property data. |
nameId | The name id. |
guid | The property GUID. |
mvEntries |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | MapiPropertyType | type, |
System::ArrayPtr< uint8_t > | data, | ||
System::String | nameId, | ||
System::Guid | guid | ||
) |
Adds the named property.
type | The data type. |
data | The property data. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | MapiPropertyType | type, |
System::ArrayPtr< uint8_t > | data, | ||
System::String | nameId, | ||
System::Guid | guid, | ||
System::SharedPtr< System::Collections::Generic::IList< System::SharedPtr< System::Object >>> | mvEntries | ||
) |
Adds the named property.
type | The data type. |
data | The property data. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::ArrayPtr< uint8_t > | value, |
int64_t | nameId, | ||
System::Guid | guid | ||
) |
Adds the named binary property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::ArrayPtr< uint8_t > | value, |
MapiNamedPropertyId | nameId, | ||
System::Guid | guid | ||
) |
Adds the named binary property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::DateTime | value, |
int64_t | nameId, | ||
System::Guid | guid | ||
) |
Adds the named datetime property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::DateTime | value, |
MapiNamedPropertyId | nameId, | ||
System::Guid | guid | ||
) |
Adds the named datetime property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::String | value, |
MapiNamedPropertyId | nameId, | ||
System::Guid | guid | ||
) |
Adds the named string property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::String | value, |
OutlookMessageFormat | format, | ||
int64_t | nameId, | ||
System::Guid | guid | ||
) |
Adds the named string property.
value | The value. |
format | The encoding format. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedProperty | ( | System::String | value, |
OutlookMessageFormat | format, | ||
MapiNamedPropertyId | nameId, | ||
System::Guid | guid | ||
) |
Adds the named string property.
value | The value. |
format | The encoding format. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedPropertyLong | ( | int64_t | value, |
int64_t | nameId, | ||
System::Guid | guid | ||
) |
Adds the named long property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::AddNamedPropertyLong | ( | int64_t | value, |
MapiNamedPropertyId | nameId, | ||
System::Guid | guid | ||
) |
Adds the named long property.
value | The value. |
nameId | The name id. |
guid | The property GUID. |
ASPOSE_EMAIL_SHARED_API int64_t Aspose::Email::Mapi::MapiMessageItemBase::AddNamedPropertyToEmbeddedMsg | ( | System::SharedPtr< MapiMessage > | msg, |
MapiPropertyType | type, | ||
System::ArrayPtr< uint8_t > | data, | ||
System::SharedPtr< System::Object > | nameId, | ||
System::Guid | guid | ||
) |
Adds the named property to embedded message.
msg | The embedded message. |
type | The property type. |
data | The property data. |
nameId | The name id. |
guid | The property GUID. |
|
protected |
Checks if the object is disposed and raised exception in this case.
|
virtual |
Convert item to MapiMessage. Set MessageClass, Subject, Mileage and Billing.
Reimplemented in Aspose::Email::Mapi::MapiTask.
|
virtual |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiAttachmentCollection> Aspose::Email::Mapi::MapiMessageItemBase::get_Attachments | ( | ) |
Gets the attachments in the message.
The attachment collection.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::MapiMessageItemBase::get_Billing | ( | ) |
Contains the billing information associated with an item.
|
virtual |
Gets the message text.
The string that represents message body.
Implements Aspose::Email::Mapi::IMapiMessageItem.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::MapiMessageItemBase::get_BodyHtml | ( | ) |
Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::MapiMessageItemBase::get_BodyRtf | ( | ) |
Gets the RTF formatted message text.
When setting a value, the values of PR_RTF_COMPRESSED, PR_RTF_DECOMPRESSES, PR_BODY properties are updated. A string value being set must have RTF format. Thus, if it is necessary to set a value in HTML format, the value must be first to encoded within RTF, according to RTF Extensions Specification. To set the content of the body message in HTML or Plain Text formats quickly, please, use SetBodyContent method. When setting a null value or empty string, the values of BodyRtf and Body properties are set null.
The string that represents message body rtf.
ASPOSE_EMAIL_SHARED_API BodyContentType Aspose::Email::Mapi::MapiMessageItemBase::get_BodyType | ( | ) |
Gets the type of the body.
The type of the body.
ASPOSE_EMAIL_SHARED_API System::ArrayPtr<System::String> Aspose::Email::Mapi::MapiMessageItemBase::get_Categories | ( | ) |
Contains keywords or categories for the message object.
ASPOSE_EMAIL_SHARED_API System::ArrayPtr<System::String> Aspose::Email::Mapi::MapiMessageItemBase::get_Companies | ( | ) |
Contains the names of the companies that are associated with an item.
|
virtual |
The item id, uses with a server
|
virtual |
Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message.
The string that represents message class.
Implements Aspose::Email::Mapi::IMapiMessageItem.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::MapiMessageItemBase::get_Mileage | ( | ) |
Contains the mileage information that is associated with an item.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiPropertyCollection> Aspose::Email::Mapi::MapiMessageItemBase::get_NamedProperties | ( | ) |
Gets the named properties of message.
The collection of named properties.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiNamedPropertyMappingStorage> Aspose::Email::Mapi::MapiMessageItemBase::get_NamedPropertyMapping | ( | ) |
Gets the named property mapping.
The named property mapping.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiPropertyStream> Aspose::Email::Mapi::MapiMessageItemBase::get_PropertyStream | ( | ) |
Gets the property stream.
The property stream.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiRecipientCollection> Aspose::Email::Mapi::MapiMessageItemBase::get_Recipients | ( | ) |
Gets the recipients of the message.
The collection of recipients.
ASPOSE_EMAIL_SHARED_API Aspose::Email::Storage::Pst::MapiSensitivity Aspose::Email::Mapi::MapiMessageItemBase::get_Sensitivity | ( | ) |
Gets the Sensitivity.
The sensitivity.
|
virtual |
Gets the subject of the message.
When setting a value, the values of SubjectPrefix(PR_SUBJECT_PREFIX) and NormalizedSubject(PR_NORMALIZED_SUBJECT) properties are updated as well. If Subject has no prefix, the value of SubjectPrefix property is set null. When setting a null value or empty string, the values of Subject, SubjectPrefix, NormalizedSubject properties are set null.
The string that represents message subject.
Implements Aspose::Email::Mapi::IMapiMessageItem.
ASPOSE_EMAIL_SHARED_API System::String Aspose::Email::Mapi::MapiMessageItemBase::get_SubjectPrefix | ( | ) |
Gets a subject prefix that typically indicates some action on a message, such as "FW: " for forwarding.
The string that represents subject prefix.
ASPOSE_EMAIL_SHARED_API System::SharedPtr<MapiPropertyCollection> Aspose::Email::Mapi::MapiMessageItemBase::get_SubStorages | ( | ) |
Gets the sub storages.
The sub storages.
|
virtual |
Gets MAPI property by property descriptor.
pd | Property descriptor for looked property |
Reimplemented from Aspose::Email::Mapi::MapiPropertyContainer.
ASPOSE_EMAIL_SHARED_API int64_t Aspose::Email::Mapi::MapiMessageItemBase::GetTagFromNamedProperty | ( | MapiNamedPropertyId | propertyId | ) |
Gets the tag from named property.
propertyId | The property id. |
ASPOSE_EMAIL_SHARED_API int64_t Aspose::Email::Mapi::MapiMessageItemBase::GetTagFromNamedProperty | ( | System::String | name | ) |
Gets the tag from named property.
name | The property name |
ArgumentException | name is null or empty |
|
protected |
Inits the named property mapping storage.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::RemoveProperty | ( | int64_t | tag | ) |
Provides correctly removing property from all collections.
tag | The tag of MapiProperty. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Attachments | ( | System::SharedPtr< MapiAttachmentCollection > | value | ) |
Gets the attachments in the message.
The attachment collection.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Billing | ( | System::String | value | ) |
Contains the billing information associated with an item.
|
virtual |
Gets the message text.
The string that represents message body.
Implements Aspose::Email::Mapi::IMapiMessageItem.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_BodyRtf | ( | System::String | value | ) |
Sets the RTF formatted message text.
When setting a value, the values of PR_RTF_COMPRESSED, PR_RTF_DECOMPRESSES, PR_BODY properties are updated. A string value being set must have RTF format. Thus, if it is necessary to set a value in HTML format, the value must be first to encoded within RTF, according to RTF Extensions Specification. To set the content of the body message in HTML or Plain Text formats quickly, please, use SetBodyContent method. When setting a null value or empty string, the values of BodyRtf and Body properties are set null.
The string that represents message body rtf.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Categories | ( | System::ArrayPtr< System::String > | value | ) |
Contains keywords or categories for the message object.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Companies | ( | System::ArrayPtr< System::String > | value | ) |
Contains the names of the companies that are associated with an item.
|
virtual |
The item id, uses with a server
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_MessageClass | ( | System::String | value | ) |
Gets a case-sensitive string that identifies the sender-defined message class, such as IPM.Note. The message class specifies the type, purpose, or content of the message.
The string that represents message class.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Mileage | ( | System::String | value | ) |
Contains the mileage information that is associated with an item.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Recipients | ( | System::SharedPtr< MapiRecipientCollection > | value | ) |
Gets the recipients of the message.
The collection of recipients.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::set_Sensitivity | ( | Aspose::Email::Storage::Pst::MapiSensitivity | value | ) |
Gets the Sensitivity.
The sensitivity.
|
virtual |
Sets the subject of the message.
When setting a value, the values of SubjectPrefix(PR_SUBJECT_PREFIX) and NormalizedSubject(PR_NORMALIZED_SUBJECT) properties are updated as well. If Subject has no prefix, the value of SubjectPrefix property is set null. When setting a null value or empty string, the values of Subject, SubjectPrefix, NormalizedSubject properties are set null.
The string that represents message subject.
Implements Aspose::Email::Mapi::IMapiMessageItem.
|
virtual |
Sets the content of the body.
It is provided for setting of the content of the body message in RTF, HTML or Plain Text formats. When setting a value, the values of PR_RTF_COMPRESSED, PR_RTF_DECOMPRESSES, PR_BODY properties are updated as well. Note, after the value in HTML format is set, BodyRtf property returns the value which is encoded within RTF.
content | The content. |
contentType | Type of the content. |
ArgumentNullException | throws if the specified content string is null or empty. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::SetMessageFlags | ( | MapiMessageFlags | flags | ) |
Sets the message flags.
flags | The message flags. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::SetNamedPropertyMapping | ( | System::SharedPtr< MapiNamedPropertyMappingStorage > | value | ) |
Sets the named property mapping.
value | The MapiNamedPropertyMappingStorage. |
|
static |
Sets MailPriority value for MapiMessageItemBase See more PidTagPriority mapi property: https://msdn.microsoft.com/en-us/library/ee159473(v=exchg.80).aspx See more PidTagImportance mapi property: https://msdn.microsoft.com/en-us/library/ee237166(v=exchg.80).aspx
message | Mapi object |
priority | Mail priority |
|
virtual |
Sets MAPI property.
pd | The property descriptor. |
value | The property data. |
Reimplemented from Aspose::Email::Mapi::MapiPropertyContainer.
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::SetsIMapiMessageItemMembers | ( | System::String | messageClass, |
System::String | body, | ||
System::String | subject | ||
) |
Sets MessageClass,Body and Subject.
messageClass | |
body | |
subject |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::SetStringNamedProperty | ( | System::String | value, |
MapiNamedPropertyId | nameId, | ||
System::Guid | psetId | ||
) |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::UpdateDisplayNames | ( | MapiRecipientType | recipientType | ) |
Updates the display names.
recipientType | The recipient Type. |
ASPOSE_EMAIL_SHARED_API void Aspose::Email::Mapi::MapiMessageItemBase::UpdateHasAttach | ( | ) |
Updates the PR_HASATTACH property value.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
protected |
System::SharedPtr<MapiNamedPropertyMappingStorage> Aspose::Email::Mapi::MapiMessageItemBase::namedPropertyMappingStorage |
|
protected |