MsgPackage class

MsgPackage class

Represents MSG message metadata.

Inheritance: MsgPackageEmailPackageCustomPackageMetadataPackage

The MsgPackage type exposes the following members:

Properties

Property Description
metadata_type Gets the metadata type.
keys Gets a collection of the metadata property names.
property_descriptors Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
count Gets the number of metadata properties.
subject Gets or sets the email subject.
recipients Gets or sets the array of the email recipients.
carbon_copy_recipients Gets or sets the array of CC (carbon copy) recipients of the email message.
blind_carbon_copy_recipients Gets or sets the array of BCC (blind carbon copy) recipients of the email message.
sender_email_address Gets the email address of the sender.
headers Gets a metadata package containing the email headers.
body Gets the email message text.
categories Gets the array of categories or keywords.
delivery_time Gets the date and time the message was delivered.
client_submit_time Gets the date and time the message was submit.
sender_name Gets the name of the sender.
internet_message_id Gets the message id of the message.
billing Contains the billing information associated with an item.
body_html Gets the BodyRtf of the message converted to HTML, if present, otherwise an empty string.
body_rtf Gets the BodyRtf of the message.
conversation_topic Gets the Conversation Topic.
display_bcc Gets the Display Bcc.
display_cc Gets the Display Cc.
display_name Gets the Display Name.
display_name_prefix Gets the Display Name Prefix.
display_to Gets the Display To.
is_encrypted Gets the Is Encrypted.
is_signed Gets the Is Signed.
is_template Gets the Is Template.
normalized_subject Gets the Normalized Subject.
read_receipt_requested Gets the Read Receipt Requested.
reply_to Gets the Reply To.
sender_address_type Gets the Sender Address Type.
sender_smtp_address Gets the Sender Smtp Address.
sent_representing_address_type Gets the Sent Representing Address Type.
sent_representing_email_address Gets the Sent Representing Email Address.
sent_representing_name Gets the Sent Representing Name.
sent_representing_smtp_address Gets the Sent Representing Smtp Address.
transport_message_headers Gets the Transport Message Headers.
mileage Gets the Mileage.
subject_prefix Gets the Subject Prefix.
attachments Gets an array of the attached files.

Methods

Method Description
contains(self, property_name) Determines whether the package contains a metadata property with the specified name.
find_properties(self, specification) Finds the metadata properties satisfying a specification.
The search is recursive so it affects all nested packages as well.
update_properties(self, specification, value) Updates known metadata properties satisfying a specification.
The operation is recursive so it affects all nested packages as well.
remove_properties(self, specification) Removes metadata properties satisfying a specification.
add_properties(self, specification, value) Adds known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
set_properties(self, specification, value) Sets known metadata properties satisfying the specification.
The operation is recursive so it affects all nested packages as well.
This method is a combination of MetadataPackage.add_properties and MetadataPackage.update_properties.
If an existing property satisfies the specification its value is updated.
If there is a known property missing in the package that satisfies the specification it is added to the package.
sanitize(self) Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well.

Remarks

Learn more | | |

See Also