以编程方式设置Outlook 2013签名默认值? [英] Programmatically set Outlook 2013 Signature Defaults?

查看:93
本文介绍了以编程方式设置Outlook 2013签名默认值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以通过编程方式设置Outlook 2013默认签名设置?我们可以生成用户的签名确定",但还希望将签名设置为默认显示在用户的电子邮件中:

设置本身似乎隐藏在Outlook配置文件下的注册表中:

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6677\00000002

Reg值:

  • New Signature
  • Reply-Forward Signature

...(具有二进制数据,大概是对HTML文件名/引用的编码).

不确定是否可以使用Outlook对象模型来访问和设置设置?以及使用ClickOnce应用程序是否有可能?

解决方案

Outlook签名是在配置文件数据(存储在注册表中)中按帐户设置的.您可以在 OutlookSpy 中查看数据-单击IOlkAccountManager按钮并双击该帐户.

IOlkAccountManager 只能在C ++或Delphi中访问.如果使用兑换是一种选择(它可以在包括VBA或.Net在内的任何语言中使用,是其作者),则它公开了 RDOAccount .ReplySignatureNewMessageSignature属性.

Is it possible to programmatically set the Outlook 2013 Default Signature settings? We can generate the user's signature OK but would like to also set the signature to appear by default in user's emails:

The setting itself seems to be tucked-away in the Registry under an Outlook profile:

HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6677\00000002

Reg Values:

  • New Signature
  • Reply-Forward Signature

... (which have binary data, presumably encoding the HTML file name/reference).

Not sure if I can use the Outlook Object Model to access and set settings? And whether this would be possible with a ClickOnce application?

解决方案

Outlook signatures are set on the per account basis in profile data (stored in the registry). You can see the data in OutlookSpy - click IOlkAccountManager button and double click on the account.

IOlkAccountManager can be accessed only in C++ or Delphi. If using Redemption is an option (it can be used from any language, including VBA or .Net, I am its author), it exposes the RDOAccount.ReplySignature and NewMessageSignature properties.

这篇关于以编程方式设置Outlook 2013签名默认值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆