MapiRecipient
Overview
MapiRecipient is a class in Aspose.Email FOSS for Python.
Mutable recipient object.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
display_name | str | None | Read | Holds the recipient’s display name or None |
email_address | str | None | Read | Holds the recipient’s email address string or None |
recipient_type | int | Read | Indicates the type of recipient (e.g., To, Cc, Bcc) as an integer |
address_type | str | Read | Stores the address type string (e.g., SMTP) |
storage_id | int | None | Read | Contains the storage identifier for the recipient or None |
properties | MapiPropertyCollection | Read | Provides access to the collection of MapiProperty objects for the recipient |
extra_streams | list[MsgStream] | Read | Lists additional MsgStream objects attached to the recipient |
extra_storages | list[MsgStorage] | Read | Lists extra MsgStorage objects associated with the recipient |
header_reserved_0 | bytes | Read | Contains reserved header bytes for the recipient |
Methods
| Signature | Description |
|---|---|
set_property(property_id: int | CommonMessagePropertyId | PropertyId, property_type_or_value: int | PropertyTypeCode | Any, value: Any, flags: int) → MapiProperty | Adds or updates a MapiProperty with given id, type/value, and flags |