如何使用 C# 编辑 Outlook 中的自动回复

How can I edit the automatic reply in outlook using c#

我正在开发一个小的 outlook 插件,它在约会上下文菜单上提供了自动填写和设置外出消息的开始/结束的选项。我设法扩展了上下文菜单并获得了所选约会的开始/结束时间。

现在我想知道如何访问外出模板。

Outlook 对象模型没有为此提供任何东西。

您可以找到 Automating Out of Office in Outlook (VBScript) sample code helpful. Consider using EWS, see EWS Managed API, EWS, and web services in Exchange 了解更多信息。