TMAPIMail object represents a single Microsoft Outlook mail item.
Delphi wrapper object for IMessage.
| Unit: | MAPIMsgOutlook.pas |
| Type: | Class |
| Inherited from: | TMAPIMessage |
Properties inherited from TMAPIProperty
| Name | Access | Type | Description | MAPI Reference |
| Active | RW | Boolean | Open/Close the MAPI object. | |
| ID | RO | TBytes | The ID property returns the unique identifier of the MAPI object. | PR_ENTRYID |
| MAPIObjType | RO | TMAPIObjType | The MAPIObjType property indicates the type of MAPI object. | PR_OBJECT_TYPE |
| MAPIObject | RO | IMAPIProp | Returns native MAPI IMAPIProp interfaced object. | |
| Properties | RO | TMAPIPropFields | Returns one or all of the fields associated with a MAPI Property object. Each field typically corresponds to a MAPI property. |
Properties inherited from TMAPIMessage
| Name | Access | Type | Description | MAPI Reference |
| Access | RO | ULONG | The Access property indicates the operations available to the client for the object. | PR_ACCESS |
| AccessLevel | RO | ULONG | The AccessLevel property indicates the client's access level to the object. | PR_ACCESS_LEVEL |
| ChangeKey | RO | TBytes | Contains a structure that identifies the last change to the object. Microsoft Exchange specific. | PR_CHANGE_KEY |
| CreationTime | RO | TDateTime | Contains the creation date and time of a message. | PR_CREATION_TIME |
| LastModificationTime | RO | TDateTime | Contains the date and time when the object or subobject was last modified. | PR_LAST_MODIFICATION_TIME |
| LastModifierName | RO | WideString | Contains the name of the last mail user to change the Message object. Microsoft Exchange specific. | PR_LAST_MODIFIER_NAME |
| RecordKey | RO | TBytes | Contains a unique binary-comparable identifier for a specific MAPI object. This property facilitates locating references to an object, such as finding its row in a contents table. | PR_RECORD_KEY |
| SearchKey | RO | TBytes | Contains a unique binary-comparable key that identifies an object for a search. | PR_SEARCH_KEY |
| HasAttachments | RO | Boolean | The HasAttachments property indicates whether the Message object contains at least one attachment. | PR_HASATTACH |
| MsgClass | RW | WideString | Contains a text string that identifies the sender-defined message class, such as IPM.Note | PR_MESSAGE_CLASS |
| MsgCodepage | RW | ULONG | Contains the code page that is used for the message. | PR_MESSAGE_CODEPAGE |
| MsgLocaleId | RW | ULONG | Contains the Windows LCID of the end user who created this message. | PR_MESSAGE_LOCALE_ID |
| MsgFlags | RO | ULONG | The MsgFlags property specifies the status of the Message object. | PR_MESSAGE_FLAGS |
| MsgSize | RO | ULONG | Contains the sum, in bytes, of the sizes of all properties on a message object. | PR_MESSAGE_SIZE |
| ParentID | RO | TBytes | Contains the entry identifier (ID) of the folder that contains a message. | PR_PARENT_ENTRYID |
| StoreID | RO | TBytes | Contains the unique entry identifier of the message store where a message resides. | PR_STORE_ENTRYID |
| Signature | RO | TBytes | Contains the mapping signature for named properties of a particular MAPI object. | PR_MAPPING_SIGNATURE |
| StoreSupportMask | RO | ULONG | There is a property present on message objects which indicates what the store supports, and also what that object supports. | PR_STORE_SUPPORT_MASK |
| IsSupportsUnicode | RO | Boolean | Indicates that STORE_UNICODE_OK exists in StoreSupportMask. Indicates that the message store supports Unicode storage. | |
| SenderName | RO | WideString | Contains the message sender's display name. | PR_SENDER_NAME |
| SenderEmailAddress | RO | WideString | Contains the message sender's e-mail address. | PR_SENDER_EMAIL_ADDRESS |
| SenderAddressType | RO | WideString | Contains the message sender's e-mail address type. | PR_SENDER_ADDRTYPE |
| DisplayTo | RO | WideString | Contains a list of the display names of the primary (To) message recipients, separated by semicolons (;). | PR_DISPLAY_TO |
| DisplayCc | RO | WideString | Contains an ASCII list of the display names of any carbon copy (CC) message recipients, separated by semicolons (;). | PR_DISPLAY_CC |
| DisplayBCc | RO | WideString | Contains an ASCII list of the display names of any blind carbon copy (BCC) message recipients, separated by semicolons (;). | PR_DISPLAY_BCC |
| Subject | RW | WideString | Contains the full subject of a message. | PR_SUBJECT |
| IconIndex | RO | Integer | Contains a number that indicates which icon to use when you display a group of e-mail objects. | PR_ICON_INDEX |
| ConversationTopic | RO | WideString | Contains the topic of the first message in a conversation thread. | PR_CONVERSATION_TOPIC |
| ConversationID | RO | TBytes | Contains a computed value derived from other Conversation-related properties. Microsoft Exchange specific. | PR_CONVERSATION_ID |
| ConversationIndex | RO | TBytes | Contains a binary value that indicates the relative position of this message within a conversation thread. | PR_CONVERSATION_INDEX |
| HasUserFields | RO | Boolean | Indicates that there exists user-defined fields | |
| ReceivedTime | RO | TDateTime | Contains the date and time when a message was delivered. | PR_MESSAGE_DELIVERY_TIME |
| SubmitTime | RO | TDateTime | Contains the date and time the message sender submitted a message. | PR_CLIENT_SUBMIT_TIME |
| Body | RO | TMsgBody | The Body property returns or sets the text of the message as a string. | PR_BODY, PR_HTML, PR_RTF_COMPRESSED |
| Attachments | RO | TMsgAttachments | The Attachments property returns an TMsgAttachments object. |
Properties
| Name | Access | Type | Description | MAPI Reference |
| AlternateRecipientAllowed | RW | Boolean | Returns True if the mail message can be forwarded. | PR_ALTERNATE_RECIPIENT_ALLOWED |
| Attachments | RO | TMsgAttachments | Returns a TMsgAttachments object that represents all the attachments for the specified item | |
| AutoForwarded | RO | Boolean | A Boolean value that returns True if the item was automatically forwarded. | PR_AUTO_FORWARDED |
| BillingInformation | RW | WideString | Returns or sets a String representing the billing information associated with the Outlook item. | PidLidBilling |
| Body | RO | TMsgBody | The Body property returns or sets the text of the message as a string. | PR_BODY, PR_HTML, PR_RTF_COMPRESSED |
| BodyFormat | RO | TMsgBodyType | Returns a TMsgBodyType enumeration indicating the format of the body text. | |
| Categories | RO | TStrings | Returns or sets a String representing the categories assigned to the Outlook item. | PidNameKeywords |
| Companies | RO | TStrings | Returns or sets a String representing the names of the companies associated with the Outlook item. | PidLidCompanies |
| ConversationID | RO | TBytes | Returns a TBytes that uniquely identifies a Conversation that the TMAPIContact object belongs to. | PR_CONVERSATION_ID |
| ConversationIndex | RO | TBytes | Returns a TBytes that indicates the relative position of the item | PR_CONVERSATION_INDEX |
| ConversationTopic | RO | WideString | Returns a String representing the topic of the conversation thread of the Outlook item. | PR_CONVERSATION_TOPIC |
| CreationTime | RO | TDateTime | Returns a Date and Time indicating the creation time for the Outlook item. | PR_CREATION_TIME |
| DeferredDeliveryTime | RW | TDateTime | Returns or sets a Date indicating the date and time the mail message is to be delivered. | PR_DEFERRED_DELIVERY_TIME |
| DeleteAfterSubmit | RW | Boolean | Returns or sets a Boolean value that is True if a copy of the mail message is not saved upon being sent, and False if a copy is saved. | PR_DELETE_AFTER_SUBMIT |
| DisplayTo | RO | WideString | Returns a semicolon-delimited String list of display names for the To recipients for the Outlook item. | PR_DISPLAY_TO |
| DisplayCc | RO | WideString | Returns a String representing the display list of carbon copy (CC) names for a Mail. | PR_DISPLAY_CC |
| DisplayBCc | RO | WideString | Returns a String representing the display list of blind carbon copy (BCC) names for a Mail. | PR_DISPLAY_BCC |
| EntryID | RO | TBytes | The ID property returns the unique identifier of the MAPI object. | PR_ENTRYID |
| ExpiryTime | RW | TDateTime | Returns or sets a Date indicating the date and time at which the item becomes invalid and can be deleted. | PR_EXPIRY_TIME |
| FlagRequest | RW | WideString | Returns or sets a String that indicates the
requested action for a mail item. By default, a mail item is not marked with any flag and the default value for this property is the empty string. You can set the value of FlagRequest either through the user interface or programmatically. When you mark a mail item with a flag through the user interface, the default value of FlagRequest is "Follow up". |
PidLidFlagRequest |
| Importance | RW | TMsgImportance | Returns or sets a TMsgImportance constant indicating the relative importance level for the Outlook item. | PR_IMPORTANCE |
| InternetCodePage | RW | ULONG | Returns or sets a ULONG that determines the Internet code page used by the item. | PR_INTERNET_CPID |
| IsMarkedAsTask | RO | Boolean | Returns a Boolean value that indicates whether the Mail is marked as a task. | PR_IS_MARKED_AS_TASK |
| IsIPFax | RO | Boolean | Indicates whether the item is an internet fax item. | PidLidIsInterpersonalFax |
| LastModificationTime | RO | TDateTime | Returns a Date specifying the date and time that the Outlook item. | PR_LAST_MODIFICATION_TIME |
| MessageClass | RW | WideString | Returns or sets a String representing the message class for the Outlook item. | PR_MESSAGE_CLASS |
| Mileage | RW | WideString | Returns or sets a String representing the mileage for an item. | PidLidMileage |
| NoAging | RW | Boolean | Returns or sets a Boolean value that is True to not age the Outlook item. | PidLidAgingDontAgeMe |
| OriginatorDeliveryReportRequested | RW | Boolean | Returns or sets a Boolean value that determines whether the originator of the meeting item or mail message will receive a delivery report. | PR_ORIGINATOR_DELIVERY_REPORT_REQUESTED |
| OutlookInternalVersion | RO | ULONG | Returns a ULONG representing the build number of the Outlook application for an Outlook item | PidLidurrentVersion |
| OutlookVersion | RO | WideString | Returns a String indicating the major and minor version number of the Outlook application for an Outlook item | PidLidurrentVersionName |
| ReadReceiptRequested | RW | Boolean | Returns a Boolean value that indicates True if a read receipt has been requested by the sender. | PR_READ_RECEIPT_REQUESTED |
| ReceivedByEntryID | RO | TBytes | Returns a TBytes representing the EntryID for the true recipient as set by the transport provider delivering the mail message. | PR_RECEIVED_BY_ENTRYID |
| ReceivedByName | RO | WideString | Returns a String representing the display name of the true recipient for the mail message. | PR_RECEIVED_BY_NAME |
| ReceivedOnBehalfOfEntryID | RO | TBytes | Returns a TBytes representing the EntryID of the user delegated to represent the recipient for the mail message. | PR_RCVD_REPRESENTING_ENTRYID |
| ReceivedOnBehalfOfName | RO | WideString | Returns a String representing the display name of the user delegated to represent the recipient for the mail message. | PR_RCVD_REPRESENTING_NAME |
| ReceivedTime | RO | TDateTime | Returns a Date indicating the date and time at which the item was received. | PR_MESSAGE_DELIVERY_TIME |
| RecipientReassignmentProhibited | RW | Boolean | Returns a Boolean that indicates True if the recipient cannot forward the mail message. | PR_RECIPIENT_REASSIGNMENT_PROHIBITED |
| ReminderOverrideDefault | RW | Boolean | Returns or sets a Boolean value that is True if the reminder overrides the default reminder behavior for the item. | PidLidReminderOverride |
| ReminderPlaySound | RW | Boolean | Returns or sets a Boolean value that is True if the reminder should play a sound when it occurs for this item. | PidLidReminderPlaySound |
| ReminderSet | RW | Boolean | Returns or sets a Boolean value that is True if a reminder has been set for this item. | PidLidReminderSet |
| ReminderSoundFile | RW | WideString | Returns or sets a String indicating the path and file name of the sound file to play when the reminder occurs for the Outlook item. | PidLidReminderFileParameter |
| ReminderTime | RW | TDateTime | Returns or sets a Date indicating the date and time at which the reminder should occur for the specified item. | PidLidReminderTime |
| RemoteStatus | RW | TRemoteStatus | Returns or sets an TRemoteStatus constant specifying the remote status of the mail message. | PidLidRemoteStatus |
| ReplyRecipientNames | RO | WideString | Returns a semicolon-delimited String list of reply recipients for the mail message. | PR_REPLY_RECIPIENT_NAMES |
| SenderEmailAddress | RO | WideString | Returns a String that represents the e-mail address of the sender of the Outlook item. | PR_SENDER_EMAIL_ADDRESS |
| SenderEmailType | RO | WideString | Returns a String that represents the type of entry for the e-mail address of the sender of the Outlook item, such as 'SMTP' for Internet address, 'EX' for a Microsoft Exchange server address, etc. | PR_SENDER_ADDRTYPE |
| SenderName | RO | WideString | Returns a String indicating the display name of the sender for the Outlook item. | PR_SENDER_NAME |
| Sensitivity | RW | TMsgSensitivity | Returns or sets a constant in the TMsgSensitivity enumeration indicating the sensitivity for the Outlook item. | PR_SENSITIVITY |
| SentOn | RO | TDateTime | Returns a Date indicating the date and time on which the Outlook item was sent. | PR_CLIENT_SUBMIT_TIME |
| SentOnBehalfOfName | RW | WideString | Returns a String indicating the display name for the intended sender of the mail message. | PR_SENT_REPRESENTING_NAME |
| Size | RO | ULONG | Returns a ULONG indicating the size (in bytes) of the Outlook item. | PR_MESSAGE_SIZE |
| Subject | RW | WideString | Returns or sets a String indicating the subject for the Outlook item. | PR_SUBJECT |
| TaskCompletedDate | RW | TDateTime | Returns or sets a Date value that represents the completion date of the task for this Mail. | PidLidTaskDateCompleted |
| TaskDueDate | RW | TDateTime | Returns or sets a Date value that represents the due date of the task for this Mail. | PidLidTaskDueDate |
| TaskStartDate | RW | TDateTime | Returns or sets a Date value that represents the start date of the task for this Mail object. | PidLidTaskStartDate |
| ToDoTaskOrdinal | RW | TDateTime | Returns or sets a Date value that represents the ordinal value of the task for the Mail. | PidLidToDoOrdinalDate |
Methods
Copyright © 2012 IMIBO Privacy Statement |