LazyMAPI

IMIEMTypes

Available declarations:

 TMAPIObjType = (omUndefined, omSTORE, omADDRBOOK, omFOLDER, omABCONT, omMESSAGE, omMAILUSER, omATTACH, omDISTLIST, omPROFSECT, omSTATUS, omSESSION, omFORMINFO);

description

Identifies type of MAPI object


 TMAPIFldType = (oFolderInbox, oFolderDeletedItems, oFolderOutbox, oFolderSentMail, oFolderCalendar, oFolderContacts, oFolderDrafts, oFolderJournal, oFolderNotes, oFolderTasks, oFolderJunk, oFolderRSSFeeds, oFolderSearchRoot, oFolderUndefined, oFolderSyncIssues, oFolderLocalFailures, oFolderServerFailures);

description

Identifies type of MAPI folder


TMAPIRecipientType = (rtUnspecified, rtTo, rtCC, rtBCC);

description

Identifies type of MAPI Recipient


TMsgType = (oUnknown, oMessage, oAppointment, oContact, oDistList, oTask, oJournal, oStickyNote, oPost);

description

Identifies type of MAPI Message


 TMsgBodyType = (aUndefined, aPlain, aRTF, aHTML, aRtfToHml);

description
Contains a value that indicates the message best body format


 TMsgHead = record
    ID: TBytes; // PR_ENTRYID (Message Unique ID)
    MsgType: TMsgType; // Message, Appointment, Contact, etc..
    HasAttachment: Boolean; // PR_HASATTACH
    Subject: string; // PR_SUBJECT
    Sender: string; // PR_SENDER_NAME
    SentTime: TDateTime; // PR_CLIENT_SUBMIT_TIME
    Size: Cardinal; // PR_MESSAGE_SIZE
    Flags: Cardinal; // PR_MESSAGE_FLAGS
    IconIndex: integer; // PR_ICON_INDEX
    ItemIndex: integer; // message position inside content table
end;

PMsgHead = ^TMsgHead;
TMsgHeadList = array of TMsgHead;

description

Contains the most commonly used properties of the MAPI message


 TFolderHead = record
    ID: TBytes; // PR_ENTRYID (Folder Unique ID)
    DisplayName: string; // PR_DISPLAY_NAME
    FolderClass: string; // PR_CONTAINER_CLASS
    FolderType: TMAPIFldType; // Mapping PR_CONTAINER_CLASS to enumeration
    MsgCount: Cardinal; // PR_CONTENT_COUNT
    UnReadMsgCount: Cardinal; // PR_CONTENT_UNREAD
    HasSubFolders: Boolean; // PR_SUBFOLDERS
    ParentID: TBytes; // PR_PARENT_ENTRYID
    StoreID: TBytes; // PR_STORE_ENTRYID
    StoreType: TMsgStoreType; //Store type enumeration as "Local", "Public", etc.
end;

PFolderHead = ^TFolderHead;
TFoldersHeadList = array of TFolderHead;

description

Contains the most commonly used properties of the MAPI Folder


 TStoreHead = record
    ID: TBytes; // PR_ENTRYID (Store Unique ID)
    DisplayName: string; // PR_DISPLAY_NAME
    ProviderDisplayName: string; // PR_PROVIDER_DISPLAY_NAME
    IsDefault: Boolean; // PR_DEFAULT_STORE
    StoreType: TMsgStoreType; //Store type enumeration as "Local", "Public", etc.
end;

PStoreHead = ^TStoreHead;
TStoresHeadList = array of TStoreHead;

description

Contains the most commonly used properties of the MAPI Store


 TRecipientHead = record
    DisplayName: string; // PR_DISPLAY_NAME
    EMailAddress: string; // PR_EMAIL_ADDRESS
    AddressType: string; // PR_ADDRESS_TYPE
    RecipientType: TMAPIRecipientType; // PR_RECEPIENT_TYPE enumeration
end;

PRecipientHead = ^TRecipientHead;
TRecipientsHeadList = array of TRecipientHead;

description

Contains the most commonly used properties of the MAPI Recipient



TMsgImportance = (miLow, miNormal, miHigh);

description

Contains a value that indicates the message sender's opinion of the importance of a message



TAttMethod = (amNoAttachment, amByValue, amByReference, amByRefResolve, amByRefOnly, amEmbeddedMsg, amOLE);

description

Representing the way the contents of an attachment can be accessed


TAttHead = record
    ID: Cardinal; // PR_ATTACH_NUM
    DisplayName: string; // PR_DISPLAY_NAME
    FileName: string; // PR_ATTACH_FILENAME
    Size: Cardinal; // PR_ATTACH_SIZE
    Method: TAttMethod; // PR_ATTACH_METHOD
    Hidden: Boolean; // PR_ATTACHMENT_HIDDEN
    Flags: Cardinal; // PR_ATTACH_FLAGS
end;

PAttHead = ^TAttHead;
TAttHeadList = array of TAttHead;

description

Contains the most commonly used properties of the MAPI Attachement


TStickyNoteColor = (osncBlue, osncGreen, osncPink, osncYellow, osncWhite);

description

Suggested background color of the Note object


TContactGender = (olUnspecified, olFemale, olMale);

description

Contains a value that indicates the contact gender

Name Value Description
olUnspecified 0 Unspecified gender
olFemale 1 Female
olMale 2 Male

TContactPhysicalAddress = (olNone, olHome, olBusiness, olOther);

description

Indicates the address to use as the the mailing address.

Name Value Description
olNone 0 No mailing address defined
olHome 1 Home mailing address
olBusiness 2 Business mailing address
olOther 3 Other mailing address

TMsgSensitivity = (olNormal, olPersonal, olPrivate, olConfidential);

description

Represents the sensitivity for the mail item.

Name Value Description
olNormal 0 Normal sensitivity
olPersonal 1 Personal
olPrivate 2 Private
olConfidential 3 Confidential

TRemoteStatus = (olRemoteStatusNone, olUnMarked, olMarkedForDownload, olMarkedForCopy, olMarkedForDelete);

description

Indicates the status of an item after it is received by a remote user.

Name Value Description
olRemoteStatusNone 0 No remote status has been set.
olUnMarked 1 Item is not marked.
olMarkedForDownload 2 Item is marked for download.
olMarkedForCopy 3 Item is marked to be copied.
olMarkedForDelete 4 Item is marked for deletion.

TBusyStatus = (olFree, olTentative, olBusy, olOutOfOffice);

description

Indicates a user's availability.


TMeetingStatus = (olNonMeeting = $00000000, olMeeting = $00000001, olMeetingReceived = $00000003, olMeetingCanceledOld = $00000004,
olMeetingCanceled = $00000005, olMeetingReceivedAndCanceled = $00000007);

description

Indicates the status of the meeting.

Name Value Description
olFree 0 The user is available.
olTentative 1 The user has a tentative appointment scheduled.
olBusy 2 The user is busy.
olOutOfOffice 3 The user is out of office.

TResponseStatus = (olResponseNone, olResponseOrganized, olResponseTentative, olResponseAccepted, olResponseDeclined, olResponseNotResponded);

description

Indicates the response to a meeting request.

Name Value Description
olResponseNone 0 The appointment is a simple appointment and does not require a response.
olResponseOrganized 1 The Appointment is on the Organizer's calendar or the recipient is the Organizer of the meeting.
olResponseTentative 2 Meeting tentatively accepted.
olResponseAccepted 3 Meeting accepted.
olResponseDeclined 4 Meeting declined.
olResponseNotResponded 5 Recipient has not responded.

 TTaskDelegationState = (olTaskNotDelegated, olTaskDelegationUnknown, olTaskDelegationAccepted, olTaskDelegationDeclined);

description

Indicates the delegation state of a task.

Name Value Description
olTaskNotDelegated 0 The task has not been delegated.
olTaskDelegationUnknown 1 The delegate response to the task is unknown.
olTaskDelegationAccepted 2 The delegate accepted the task.
olTaskDelegationDeclined 3 The delegate declined the task.

 TTaskOwnership = (olNewTask, olDelegatedTask, olOwnTask);

description

Indicates the ownership state of the task.

Name Value Description
olNewTask 0 Task has not yet been assigned to a user.
olDelegatedTask 1 Task has been delegated to another user.
olOwnTask 2 Task is assigned to the current Outlook user.

TTaskResponse = (olTaskSimple, olTaskAssign, olTaskAccept, olTaskDecline);

description

Indicates the response to a task request.

Name Value Description
olTaskSimple 0 Task is a simple task and cannot be accepted, declined, or assigned.
This constant is not a valid parameter to the TMAPITask.Respond method.
olTaskAssign 1 Task reassigned.
olTaskAccept 2 Task accepted.
olTaskDecline 3 Task declined.

TContactEmailType = (olEmailUnMarked, olEmail1, olEmail2, olEmail3);

description

Indicates type of email address.


TContactTelephones = (olcPrimary, olcHome, olcHome2, olcHomeFax, olcBusiness, olcBusiness2, olcBusinessFax, olcCompany, olcAssistant, olcMobile, olcRadio, olcCar, olcPager, olcCallback, olcTTYTDD, olcTelex, olcISDN, olcOther, oclOtherFax);

description

Indicates type of Telephone.

Name Description
olcPrimary The primary telephone number for the contact.
olcHome The first home telephone number for the contact.
olcHome2 The second home telephone number for the contact.
olcBusiness Tthe first business telephone number for the contact.
olcBusiness2 The second business telephone number for the contact.
olcCompany The company main telephone number for the contact.
olcAssistant The telephone number of the person who is the assistant for the contact.
olcMobile The mobile telephone number for the contact.
olcRadio The radio telephone number for the contact.
olcCar The car telephone number for the contact.
olcPager The pager number for the contact.
olcCallback The callback telephone number for the contact.
olcTTYTDD The TTY/TDD telephone number for the contact.
olcTelex The telex number for the contact.
olcISDN The ISDN number for the contact.
olcOther The other telephone number for the contact.

TContactNames = (olGiven, olMiddle, olSurname, olNickname, olGeneration, olDisplayNamePrefix, olInitials, olDisplayName);

description

Indicates type of Name.

Name Description
olGiven The first name for the contact.
olMiddle The middle name for the contact.
olSurname The last name for the contact.
olNickname The nickname for the contact.
olGeneration The name suffix (such as Jr., III, or Ph.D.) for the specified contact.
olDisplayNamePrefix The title for the contact.
olInitials The initials for the contact.
olDisplayName The whole, unparsed full name for the contact.

TContactProfessional = (olJobTitle, olCompany, olDepartment, olOffice, olManager, olAssistant, olProfession, olOrgID);

description

Indicates type of professional property.

Name Description
olJobTitle The job title for the contact.
olCompany The company name for the contact.
olDepartment The department name for the contact.
olOffice The specific office location (for example, Building 1 Room 1 or Suite 123) for the contact.
olManager The manager name for the contact.
olAssistant The name of the person who is the assistant for the contact.
olProfession The profession for the contact.
olOrgID The organizational ID number for the contact.

TDListMember = record
    AddressType: String;
    EMailAddress: string;
    DisplayName: string;
    EntryID: TBytes;
end;

TDListMembers = array of TDListMember;

description

Contains the most commonly used properties of the MAPI Personal Distribution List Member.


 

 

Copyright © 2012 IMIBO
Privacy Statement