代码之家  ›  专栏  ›  技术社区  ›  mkingsbu

Outlook 2016中的Outlook MAPI邮件类元数据

  •  1
  • mkingsbu  · 技术社区  · 6 年前

    我一直在到处找,似乎找不到任何一个微软有记录的信息。(这包括 MS documentation 在MAPI邮件类上。这 Super User answer 阐明了所有可能的标准消息类,但我还没有找到与消息类相关联的可能元数据的列表。

    是否有人知道我在哪里可以找到每个消息类的元数据以及可能的摘要(或详细!)列的含义说明?其中一些是相当明显的(“receiveddate”、“start”等),但另一些则不那么明显。

    我仔细研究了PowerShell并设法找到以下内容:

    安排会议请求:

            "Application",
            "Class",
            "Session",
            "Parent",
            "Actions",
            "Attachments",
            "BillingInformation",
            "Body",
            "Categories",
            "Companies ",
            "ConversationIndex",
            "ConversationTopic",
            "CreationTime",
            "EntryID",
            "FormDescription",
            "GetInspector",
            "Importance",
            "LastModificationTime",
            "MAPIOBJECT",
            "MessageClass",
            "Mileage",
            "NoAging",
            "OutlookInternalVersion",
            "OutlookVersion",
            "Saved",
            "Sensitivity",
            "Size",
            "Subject",
            "UnRead",
            "UserProperties",
            "AutoForwarded",
            "DeferredDeliveryTime",
            "DeleteAfterSubmit",
            "ExpiryTime",
            "FlagDueBy",
            "FlagRequest ",
            "FlagStatus",
            "OriginatorDeliveryReportRequested",
            "ReceivedTime",
            "Recipients",
            "ReminderSet",
            "ReminderTime",
            "ReplyRecipients",
            "SaveSentMessageFolder",
            "SenderName",
            "Sent",
            "SentOn",
            "Submitted",
            "Links",
            "DownloadState",
            "ItemProperties",
            "MarkForDownload",
            "IsConflict",
            "MeetingWorkspaceURL",
            "FlagIcon",
            "AutoResolvedWinner",
            "Conflicts",
            "SenderEmailAddress",
            "SenderEmailType",
            "PropertyAccessor",
            "ConversationID",
            "SendUsingAccount",
            "IsLatestVersion",
            "RTFBody",
            "RetentionExpirationDate",
            "RetentionPolicyName",
            "BodyFormat"
    

    RSS:

    "Application",
            "Class",
            "Session",
            "Parent",
            "Actions",
            "Attachments",
            "BillingInformation",
            "Body",
            "Categories",
            "Companies",
            "ConversationIndex",
            "ConversationTopic",
            "CreationTime",
            "EntryID",
            "FormDescription",
            "GetInspector",
            "Importance",
            "LastModificationTime",
            "MAPIOBJECT",
            "MessageClass",
            "Mileage",
            "NoAging",
            "OutlookInternalVersion",
            "OutlookVersion",
            "Saved",
            "Sensitivity",
            "Size",
            "Subject",
            "UnRead",
            "UserProperties",
            "ExpiryTime",
            "HTMLBody",
            "ReceivedTime",
            "SenderName",
            "SentOn",
            "Links",
            "ItemProperties",
            "BodyFormat",
            "DownloadState",
            "InternetCodepage",
            "MarkForDownload",
            "IsConflict",
            "AutoResolvedWinner",
            "Conflicts",
            "SenderEmailAddress",
            "SenderEmailType",
            "PropertyAccessor",
            "TaskSubject",
            "TaskDueDate",
            "TaskStartDate",
            "TaskCompletedDate",
            "ToDoTaskOrdinal",
            "ReminderOverrideDefault",
            "ReminderPlaySound",
            "ReminderSet",
            "ReminderSoundFile",
            "ReminderTime",
            "IsMarkedAsTask",
            "ConversationID",
            "RTFBody"
    

    笔记:

    "Application",
            "Class",
            "Session",
            "Parent",
            "Body",
            "Categories",
            "Color",
            "CreationTime",
            "EntryID",
            "GetInspector",
            "Height",
            "LastModificationTime",
            "Left",
            "MessageClass",
            "Saved",
            "Size",
            "Subject",
            "Top",
            "Width",
            "Links",
            "DownloadState",
            "ItemProperties",
            "MarkForDownload",
            "IsConflict",
            "AutoResolvedWinner",
            "Conflicts",
            "PropertyAccessor"
    

    联系方式:

    "Application",
            "Class",
            "Session",
            "Parent",
            "Actions",
            "Attachments",
            "BillingInformation",
            "Body",
            "Categories",
            "Companies",
            "ConversationIndex",
            "ConversationTopic",
            "CreationTime",
            "EntryID",
            "FormDescription",
            "GetInspector",
            "Importance",
            "LastModificationTime",
            "MAPIOBJECT",
            "MessageClass",
            "Mileage",
            "NoAging",
            "OutlookInternalVersion",
            "OutlookVersion",
            "Saved",
            "Sensitivity",
            "Size",
            "Subject",
            "UnRead",
            "UserProperties",
            "Account",
            "Anniversary",
            "AssistantName",
            "AssistantTelephoneNumber",
            "Birthday",
            "Business2TelephoneNumber",
            "BusinessAddress",
            "BusinessAddressCity",
            "BusinessAddressCountry",
            "BusinessAddressPostalCode",
            "BusinessAddressPostOfficeBox",
            "BusinessAddressState",
            "BusinessAddressStreet",
            "BusinessFaxNumber",
            "BusinessHomePage",
            "BusinessTelephoneNumber",
            "CallbackTelephoneNumber",
            "CarTelephoneNumber",
            "Children",
            "CompanyAndFullName",
            "CompanyLastFirstNoSpace",
            "CompanyLastFirstSpaceOnly",
            "CompanyMainTelephoneNumber",
            "CompanyName",
            "ComputerNetworkName",
            "CustomerID",
            "Department",
            "Email1Address",
            "Email1AddressType",
            "Email1DisplayName",
            "Email1EntryID",
            "Email2Address",
            "Email2AddressType",
            "Email2DisplayName",
            "Email2EntryID",
            "Email3Address",
            "Email3AddressType",
            "Email3DisplayName",
            "Email3EntryID",
            "FileAs",
            "FirstName",
            "FTPSite",
            "FullName",
            "FullNameAndCompany",
            "Gender",
            "GovernmentIDNumber",
            "Hobby",
            "Home2TelephoneNumber",
            "HomeAddress",
            "HomeAddressCity",
            "HomeAddressCountry",
            "HomeAddressPostalCode",
            "HomeAddressPostOfficeBox",
            "HomeAddressState",
            "HomeAddressStreet",
            "HomeFaxNumber",
            "HomeTelephoneNumber",
            "Initials",
            "InternetFreeBusyAddress",
            "ISDNNumber",
            "JobTitle",
            "Journal",
            "Language",
            "LastFirstAndSuffix",
            "LastFirstNoSpace",
            "LastFirstNoSpaceCompany",
            "LastFirstSpaceOnly",
            "LastFirstSpaceOnlyCompany",
            "LastName",
            "LastNameAndFirstName",
            "MailingAddress",
            "MailingAddressCity",
            "MailingAddressCountry",
            "MailingAddressPostalCode",
            "MailingAddressPostOfficeBox",
            "MailingAddressState",
            "MailingAddressStreet",
            "ManagerName",
            "MiddleName",
            "MobileTelephoneNumber",
            "NetMeetingAlias",
            "NetMeetingServer",
            "NickName",
            "OfficeLocation",
            "OrganizationalIDNumber",
            "OtherAddress",
            "OtherAddressCity",
            "OtherAddressCountry",
            "OtherAddressPostalCode",
            "OtherAddressPostOfficeBox",
            "OtherAddressState",
            "OtherAddressStreet",
            "OtherFaxNumber",
            "OtherTelephoneNumber",
            "PagerNumber",
            "PersonalHomePage",
            "PrimaryTelephoneNumber",
            "Profession",
            "RadioTelephoneNumber",
            "ReferredBy",
            "SelectedMailingAddress",
            "Spouse",
            "Suffix",
            "TelexNumber",
            "Title",
            "TTYTDDTelephoneNumber",
            "User1",
            "User2",
            "User3",
            "User4",
            "UserCertificate",
            "WebPage",
            "YomiCompanyName",
            "YomiFirstName",
            "YomiLastName",
            "Links",
            "ItemProperties",
            "LastFirstNoSpaceAndSuffix",
            "DownloadState",
            "IMAddress",
            "MarkForDownload",
            "IsConflict",
            "AutoResolvedWinner",
            "Conflicts",
            "HasPicture",
            "PropertyAccessor",
            "TaskSubject",
            "TaskDueDate",
            "TaskStartDate",
            "TaskCompletedDate",
            "ToDoTaskOrdinal",
            "ReminderOverrideDefault",
            "ReminderPlaySound",
            "ReminderSet",
            "ReminderSoundFile",
            "ReminderTime",
            "IsMarkedAsTask",
            "BusinessCardLayoutXml",
            "BusinessCardType",
            "ConversationID",
            "RTFBody"
    

    对话:

    "Application",
            "Class",
            "Session",
            "Parent",
            "Actions",
            "Attachments",
            "BillingInformation",
            "Body",
            "Categories",
            "Companies",
            "ConversationIndex",
            "ConversationTopic",
            "CreationTime",
            "EntryID",
            "FormDescription",
            "GetInspector",
            "Importance",
            "LastModificationTime",
            "MAPIOBJECT",
            "MessageClass",
            "Mileage",
            "NoAging",
            "OutlookInternalVersion",
            "OutlookVersion",
            "Saved",
            "Sensitivity",
            "Size",
            "Subject",
            "UnRead",
            "UserProperties",
            "AlternateRecipientAllowed",
            "AutoForwarded",
            "BCC",
            "CC",
            "DeferredDeliveryTime",
            "DeleteAfterSubmit",
            "ExpiryTime",
            "FlagDueBy",
            "FlagRequest",
            "FlagStatus",
            "HTMLBody",
            "OriginatorDeliveryReportRequested",
            "ReadReceiptRequested",
            "ReceivedByEntryID",
            "ReceivedByName",
            "ReceivedOnBehalfOfEntryID",
            "ReceivedOnBehalfOfName",
            "ReceivedTime",
            "RecipientReassignmentProhibited",
            "Recipients",
            "ReminderOverrideDefault",
            "ReminderPlaySound",
            "ReminderSet",
            "ReminderSoundFile",
            "ReminderTime",
            "RemoteStatus",
            "ReplyRecipientNames",
            "ReplyRecipients",
            "SaveSentMessageFolder",
            "SenderName",
            "Sent",
            "SentOn",
            "SentOnBehalfOfName",
            "Submitted",
            "[To]",
            "VotingOptions",
            "VotingResponse",
            "Links",
            "ItemProperties",
            "BodyFormat",
            "DownloadState",
            "InternetCodepage",
            "MarkForDownload",
            "IsConflict",
            "IsIPFax",
            "FlagIcon",
            "HasCoverSheet",
            "AutoResolvedWinner",
            "Conflicts",
            "SenderEmailAddress",
            "SenderEmailType",
            "EnableSharedAttachments",
            "Permission",
            "PermissionService",
            "PropertyAccessor",
            "SendUsingAccount",
            "TaskSubject",
            "TaskDueDate",
            "TaskStartDate",
            "TaskCompletedDate",
            "ToDoTaskOrdinal",
            "IsMarkedAsTask",
            "ConversationID",
            "Sender",
            "PermissionTemplateGuid",
            "RTFBody",
            "RetentionPolicyName",
            "RetentionExpirationDate"
    

    任务:

    "Application",
            "Class",
            "Session",
            "Parent",
            "Actions",
            "Attachments",
            "BillingInformation",
            "Body",
            "Categories",
            "Companies",
            "ConversationIndex",
            "ConversationTopic",
            "CreationTime",
            "EntryID",
            "FormDescription",
            "GetInspector",
            "Importance",
            "LastModificationTime",
            "MAPIOBJECT",
            "MessageClass",
            "Mileage",
            "NoAging",
            "OutlookInternalVersion",
            "OutlookVersion",
            "Saved",
            "Sensitivity",
            "Size",
            "Subject",
            "UnRead",
            "UserProperties",
            "ActualWork",
            "CardData",
            "Complete",
            "Contacts",
            "ContactNames",
            "DateCompleted",
            "DelegationState",
            "Delegator",
            "DueDate",
            "IsRecurring",
            "Ordinal",
            "Owner",
            "Ownership",
            "PercentComplete",
            "Recipients",
            "ReminderTime",
            "ReminderOverrideDefault",
            "ReminderPlaySound",
            "ReminderSet",
            "ReminderSoundFile",
            "ResponseState",
            "Role",
            "SchedulePlusPriority",
            "StartDate",
            "Status",
            "StatusOnCompletionRecipients",
            "StatusUpdateRecipients",
            "TeamTask",
            "TotalWork",
            "Links",
            "DownloadState",
            "ItemProperties",
            "InternetCodepage",
            "MarkForDownload",
            "IsConflict",
            "AutoResolvedWinner",
            "Conflicts",
            "PropertyAccessor",
            "SendUsingAccount",
            "ToDoTaskOrdinal",
            "ConversationID",
            "RTFBody",
    

    日历:

    "Application",
            "Class",
            "Session",
            "Parent",
            "Actions",
            "Attachments",
            "BillingInformation",
            "Body",
            "Categories",
            "Companies",
            "ConversationIndex",
            "ConversationTopic",
            "CreationTime",
            "EntryID",
            "FormDescription",
            "GetInspector",
            "Importance",
            "LastModificationTime",
            "MAPIOBJECT",
            "MessageClass",
            "Mileage",
            "NoAging",
            "OutlookInternalVersion",
            "OutlookVersion",
            "Saved",
            "Sensitivity",
            "Size",
            "Subject",
            "UnRead",
            "UserProperties",
            "AllDayEvent",
            "BusyStatus",
            "Duration",
            "End",
            "IsOnlineMeeting",
            "IsRecurring",
            "Location",
            "MeetingStatus",
            "NetMeetingAutoStart",
            "NetMeetingOrganizerAlias",
            "NetMeetingServer",
            "NetMeetingType",
            "OptionalAttendees",
            "Organizer",
            "Recipients",
            "RecurrenceState",
            "ReminderMinutesBeforeStart",
            "ReminderOverrideDefault",
            "ReminderPlaySound",
            "ReminderSet",
            "ReminderSoundFile",
            "ReplyTime",
            "RequiredAttendees",
            "Resources",
            "ResponseRequested",
            "ResponseStatus",
            "Start",
            "NetMeetingDocPathName",
            "NetShowURL",
            "Links",
            "ConferenceServerAllowExternal",
            "ConferenceServerPassword",
            "ItemProperties",
            "DownloadState",
            "InternetCodepage",
            "MarkForDownload",
            "IsConflict",
            "MeetingWorkspaceURL",
            "AutoResolvedWinner",
            "Conflicts",
            "PropertyAccessor",
            "SendUsingAccount",
            "GlobalAppointmentID",
            "ForceUpdateToAllAttendees",
            "StartUTC",
            "EndUTC",
            "StartInStartTimeZone",
            "EndInEndTimeZone",
            "StartTimeZone",
            "EndTimeZone",
            "ConversationID",
            "RTFBody",
            "BodyFormat"
    

    电子邮件(ipm.note):

    “应用程序”,
    “类”,
    “会话”,
    “父级”,
    “动作”,
    “附件”,
    “BillingInformation”,
    “正文”,
    “公司”,
    “会话索引”,
    “会话主题”,
    “创作时间”,
    “入口ID”,
    “表单说明”,
    “获取检查器”,
    “重要性”,
    “上次修改时间”,
    “地图对象”,
    “消息类”,
    “里程”,
    “诺丁”,
    “外景外景转换”,
    “异常版本”,
    “已保存”,
    “灵敏度”,
    “大小”,
    “主题”,
    “未读”,
    “用户属性”,
    “允许AlternateRecipient”,
    “自动转发”,
    “BCC”,
    “CC”,
    “延迟交货时间”,
    “删除后提交”,
    “到期时间”,
    “弗拉格杜比”,
    “标志请求”,
    “旗国”,
    “HTML正文”,
    “已请求OriginatorDeliveryReport”,
    “已请求readReceiptRequested”,
    “接收到的信息”,
    “接收的byname”,
    “接收到的DoBehalfEntryID”,
    “ReceivedOnBehalfName”,
    “接收时间”,
    “禁止收件人重新分配”,
    “收件人”,
    “ReminderOverrideDefault”,
    “提醒播放声音”,
    “提醒集”,
    “提醒声音文件”,
    “提醒时间”,
    “远程状态”,
    “复制收件人姓名”,
    “复制收件人”,
    “savesentmessagefolder”,
    “发送姓名”,
    “已发送”,
    “哨兵”,
    “SentonBehalfName”,
    “已提交”,
    “[收件人]”,
    “投票选项”,
    “投票响应”,
    “链接”,
    “项目属性”,
    “正文格式”,
    “下载状态”,
    “互联网代码页”,
    “马克福德下载”,
    “isconflict”,
    “isipfax”,
    “标志图标”,
    “有封面”,
    “自动解决的赢家”,
    “冲突”,
    “发送电子邮件地址”,
    “发送电子邮件类型”,
    “启用共享附件”,
    “权限”,
    “权限服务”,
    “属性访问器”,
    “发送usingaccount”,
    “任务主题”,
    “任务到期日期”,
    “任务开始日期”,
    “任务完成日期”,
    “todotaskordinal”,
    “Ismarkedastask”,
    “会话ID”,
    “发件人”,
    “权限模板向导”,
    “RTFBody”,
    “保留策略名称”,
    “保留到期日期”
    
    2 回复  |  直到 6 年前
        1
  •  1
  •   Eugene Astafiev    6 年前

    Microsoft Outlook对象浏览器显示可从Outlook对象库获得的类、属性、方法和事件。

    如果看不到“开发人员”选项卡,请参见 Run in Developer Mode in Outlook 激活“开发人员”选项卡。在“开发人员”选项卡的“表单”组中,单击“查看代码”以打开脚本编辑器。在脚本编辑器中,单击“脚本”菜单上的“对象浏览器”或按F2键。

    所有可用的Outlook对象都按字母顺序列在对象浏览器的“类”窗格中。要查看对象的成员,请在“类”窗格中选择该对象。此对象的成员按字母顺序出现在“成员”窗格中。此窗格顶部的标题将反映所选对象的名称。例如,如果选择 AppointmentItem 对象在“类”窗格中,“成员”窗格的标题将显示为 约会项目 .

    的接口和成员 Microsoft.Office.Interop.Outlook 描述了为Outlook的COM对象模型和自动化Outlook的托管应用程序之间的互操作性提供支持的命名空间。 here .

        2
  •  0
  •   Dmitry Streblechenko    6 年前

    查看msdn- MailItem , ContactItem , AppointmentItem 等。

    您还可以在中看到活动对象 OutlookSpy -选择一个项目,单击OutlookSpy功能区上的“项目”按钮。