MapiContact

MapiContact class

Represents outlook contact information

The MapiContact type exposes the following members:

Constructors

NameDescription
MapiContact()Initializes a new instance of the MapiContact class
MapiContact(display_name, electonic_address)Initializes a new instance of the MapiContact class
MapiContact(display_name, electonic_address, company_name)Initializes a new instance of the MapiContact class
MapiContact(display_name, electonic_address, company_name, primary_telephone_number)Initializes a new instance of the MapiContact class

Properties

NameDescription
properties
code_page
item_idThe item id, uses with a server
attachmentsGets the attachments in the contact.
property_streamGets the property stream.
named_propertiesGets the named properties of message.
recipientsGets the recipients of the message.
sub_storagesGets the sub storages.
named_property_mappingGets the named property mapping.
subject_prefixGets a subject prefix that typically indicates some action on a message, such as “FW: " for forwarding.
body_typeGets the type of the body.
body_rtfGets or sets the RTF formatted message text.
body_htmlGets the body_rtf of the message converted to HTML, if present, otherwise an empty string.
companiesContains the names of the companies that are associated with an item.
categoriesContains keywords or categories for the message object.
mileageContains the mileage information that is associated with an item.
billingContains the billing information associated with an item.
sensitivityGets the Sensitivity.
message_classGets 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.
supported_typeGets the supported item type.
bodyGets the message text.
subjectGets or sets the subject of the message.
name_infoThe properties are used to specify the name
of the person represented by the contact
personal_infoSpecify other additional contact information
professional_infoProperties are used to store professional
details for the person represented by the contact
telephonesSpecify telephone numbers
for the contact
electronic_addressesSpecify properties for up to three different
e-mail addresses
and three different fax addresses
physical_addressesSpecify three physical addresses:
Home Address, Work Address, and Other Address.
One of the addresses can be marked as the Mailing Address
eventsSpecify events associated with a contact
other_fieldsSpecify other fields of conhtact.
photoContains contact photoMapiContactPhoto.

Methods

NameDescription
set_property(pd, value)
set_property(value)
try_get_property_string(tag, codepage)
try_get_property_string(tag)
try_get_property_string(tag, value, codepage)
try_get_property_string(tag, value)
get_property_string(tag, codepage)
get_property_string(tag)
set_body_content(content, content_type)
set_body_content(content, content_type, compression)
from_v_card(file_path)
from_v_card(file_path, encoding)
from_v_card(stream)
from_v_card(stream, encoding)
save(file_path)
save(file_path, save_format)
save(file_path, save_options)
save(stream)
save(stream, save_format)
save(stream, save_options)
get_property(pd)
try_get_property_data(tag)
get_property_bytes(tag)
get_property_int32(tag)
get_property_long(tag)
get_property_short(tag)
get_property_boolean(tag)
get_property_date_time(key)
is_store_unicode_ok()
try_get_property_date_time(tag, value)
try_get_property_long(tag, value)
try_get_property_int32(tag, value)
set_body_rtf(content, compression)
set_message_flags(flags)
remove_property(tag)
get_underlying_message()

See Also