MapiProperty

Overview

MapiProperty is a class in Aspose.Email FOSS for Python.

Logical MAPI property with optional named-property identity.

Properties

NameTypeAccessDescription
property_tagintReadIs an integer combining the property ID and type per MAPI spec
property_idintReadIs the integer identifier of the property without type information
property_typeintReadIs an integer representing the MAPI data type of the property
valueAnyReadHolds the high‑level Python value of the property
flagsintReadIs an integer of attribute flags describing the property
namedMapiNamedProperty | NoneReadIs a MapiNamedProperty for named properties or None if not named
raw_inline_valuebytes | NoneReadContains raw inline bytes of the property, or None
raw_size_valueint | NoneReadIs the size in bytes of the raw value, or None if unknown
raw_reserved_valueint | NoneReadHolds an optional reserved raw integer, or None
raw_direct_streambytes | NoneReadContains raw bytes for a direct stream value, or None
raw_indexed_streamstuple[tuple[int, bytes], ...]ReadIs a tuple of (index, bytes) pairs for indexed streams
preserve_rawboolReadIndicates whether raw data should be retained when modifying the property

Methods

SignatureDescription
clone()"MapiProperty"Returns a new MapiProperty with the same data
clear_raw()Removes any stored raw binary representation of the property

See Also