英文:
How to control where Outlook signature is created
问题
我使用类似于以下的VSTO C#代码创建Outlook签名:
var signature = WordApplication.EmailOptions.EmailSignature;
signature.EmailSignatureEntries.Add("Signature Name", range);
由于我有多个电子邮件帐户,签名是在“此设备上的签名”中创建的,而不是在任何电子邮件帐户中。因此,我无法手动设置“新消息”和“回复/转发”。
我不想以编程方式设置“新消息”和“回复/转发”的值。有人能解释一下发生了什么,以及我如何解决我的问题吗?
-- 编辑 --
我目前不需要漫游签名,并且愿意将它们存储在Outlook客户端中。问题是我认为Microsoft可能破坏了这个功能。
多年来,我一直在使用上述代码来管理电子邮件签名。然而,在过去的6到12个月中,Outlook中的一些事情发生了变化。
我的同事和我看到不同的“签名和信纸”对话框。尽管我们都在Office 365 v2302 Build 16.0.16130.20186 64位上。
他的对话框允许设置“新消息”签名。我的则不行。
我可以看到我们计算机之间的主要区别是我使用Windows 11,而他使用Windows 10。我们都在Outlook中配置了多个电子邮件帐户。我有一个“此设备上的签名”选项。他没有。
从我的计算机上,对话框无法正常工作:
从他的计算机上,对话框正常工作:
英文:
I use code similar to the following VSTO C# to create an Outlook Signature:
var signature = WordApplication.EmailOptions.EmailSignature
signature.EmailSignatureEntries.Add("Signature Name", range);
Seeing as I have multiple email accounts, the signature is created in "Signatures on this device" - not in any of the email accounts.
Consequently, I can't manually set the "New messages" and "Replies/Forwards".
I don't want to programmatically set the "New messages" and "Replies/Forwards" values.
Can someone explain what is going on and how I can resolve my issue?
-- Edit --
I don't require roaming signatures (at this stage) and am happy for them to be stored in the Outlook Client. The problem is that I think Microsoft may have broken this functionality.
I have been using the above code (for years now), to manage email signatures. However, things have changed in Outlook sometime in the last 6 to 12 months.
My colleague and I see different "Signatures and Stationery" dialogs. Even though we are both on Office 365 v2302 Build 16.0.16130.20186 64bit.
His dialog allows the "New Messages" signature to be set. Mine does not.
The main difference I can see between our computers is that I am on Windows 11 whereas he is on Windows 10. We both have multiple email accounts configured within Outlook. I have a "Signatures on this device" option. He does not.
From my computer where the dialog DOESN'T work:
From his computer where the dialog DOES work:
答案1
得分: 0
云签名目前没有任何文档。Outlook有一个API支持这个(你可以在Fiddler中看到调用),但在过去的几个月里它已经发生了变化,我预计在Microsoft将API移到Graph并进行文档化之前,它还会发生进一步的变化。所有这些只是一个基于经验的猜测...
英文:
Cloud signatures are not at all documented at his point. Outlook has an API for that (you can see the calls in Fiddler), but it has changed over the past few months, and I expect it to change further before Microsoft moves the API to Graph and documents it. All of this is just an educated guess...
答案2
得分: 0
Outlook对象模型(以及Word对象模型)没有提供任何漫游签名的内容(用于将签名保存在邮箱中,而不是客户端)。在处理Outlook对象模型时,你将找不到与此相关的任何内容。
目前,Microsoft Graph API也不支持签名设置。电子邮件签名由Outlook客户端存储,而不是存储在邮箱内部。这就是为什么用户在桌面、移动和Web客户端上看到不同签名的原因。通过Graph仅可以访问存储在邮箱级别的类似设置。这些设置通过mailboxSettings
对象访问:automaticRepliesSetting
、language
、timeZone
和workingHours
。请参阅文档mailboxsettings,其中列出了通过Graph可以管理的所有邮箱设置。
已提交了Graph Feed请求,你可以投票支持该请求并提供反馈,Microsoft产品工程团队可以审核和检查可行性,并考虑实施。
英文:
The Outlook object model (as well as Word object model) doesn't provide anything for roaming signatures (for keeping signatures in the mailbox, not client). You will not find anything for that when dealing with the Outlook object model.
Currently also Microsoft Graph API doesn't have support for signature settings. Email signatures are stored by the Outlook client, not within the mailbox. This is why users see different signatures across desktop, mobile, and web clients. The only settings like this available via Graph are settings stored at the mailbox level. These are accessed via mailboxSettings
object: automaticRepliesSetting
, language
, timeZone
, and workingHours
. Refer to documentation mailboxsettings, which lists all mailbox settings that can be managed through Graph.
There is Graph Feed Request submitted, you can upvote the request and provide you feedback, and Microsoft Product Engineering team can review and check the feasibility and consider for implementation.
答案3
得分: 0
> 我实际上正在使用VBA,我确实看到了同样的情况,我相信这与Roaming Signatures功能有关,该功能现在已经在当前版本的50% Outlook 365桌面上推出。
>
> https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=60371
>
> 此线程顶部还有一个注册修复程序 - https://techcommunity.microsoft.com/t5/outlook/outlook-roaming-signature-vs-signatures-on-this-device/m-p/3672866
>
> 更多详细信息请参阅 - https://support.microsoft.com/en-us/office/outlook-roaming-signatures-420c2995-1f57-4291-9004-8f6f97c54d15?ui=en-us&rs=en-us&ad=us
英文:
With thanks to Christopher Edwards
> I am actually using VBA and I have actually seen the same thing and I believe it is related to the Roaming Signatures feature that has now been rolled to 50% of Outlook 365 Desktops in the current build.
>
> https://www.microsoft.com/en-us/microsoft-365/roadmap?filters=&searchterms=60371
>
> There is also a reg fix at the top of this thread - https://techcommunity.microsoft.com/t5/outlook/outlook-roaming-signature-vs-signatures-on-this-device/m-p/3672866
>
> More details here - https://support.microsoft.com/en-us/office/outlook-roaming-signatures-420c2995-1f57-4291-9004-8f6f97c54d15?ui=en-us&rs=en-us&ad=us
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论