MapiRecipient

Overview

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

Mutable recipient object.

Properties

NameTypeAccessDescription
display_namestr | NoneReadHolds the recipient’s display name or None
email_addressstr | NoneReadHolds the recipient’s email address string or None
recipient_typeintReadIndicates the type of recipient (e.g., To, Cc, Bcc) as an integer
address_typestrReadStores the address type string (e.g., SMTP)
storage_idint | NoneReadContains the storage identifier for the recipient or None
propertiesMapiPropertyCollectionReadProvides access to the collection of MapiProperty objects for the recipient
extra_streamslist[MsgStream]ReadLists additional MsgStream objects attached to the recipient
extra_storageslist[MsgStorage]ReadLists extra MsgStorage objects associated with the recipient
header_reserved_0bytesReadContains reserved header bytes for the recipient

Methods

SignatureDescription
set_property(property_id: int | CommonMessagePropertyId | PropertyId, property_type_or_value: int | PropertyTypeCode | Any, value: Any, flags: int)MapiPropertyAdds or updates a MapiProperty with given id, type/value, and flags

See Also