2

我很想知道何时有人在他们的 Outlook 中设置了外出通知,以便我可以使用这些知识在我的应用程序中进行调整。

有谁知道助手或 Outlook 本身是否在任何地方报告此信息?

4

1 回答 1

3

OOF settings are not directly exposed through the Outlook Object Model.
You can however read the OOF state using the PR_OOF_STATE property (DASL name is "http://schemas.microsoft.com/mapi/proptag/0x661D000B") using Store.PropertyAccessor.GetProperty.
The OOF text is stored in a hidden message with the message class of "IPM.Note.Rules.OofTemplate.Microsoft" in the Inbox folder. It can be accessed using Folder.GetStorage.

Other OOF related properties can be accessed using Extended MAPI (C++ or Delphi), EWS, or Redemption (see RDOOutOfOfficeAssistant object)

于 2013-10-15T16:23:32.497 回答