注册自定义URL protocl处理程序,Outlook识别?自定义、程序、protocl、URL

2023-09-03 11:35:44 作者:寻一世傲骨

早上好,

我已经成功地创建了一个小的应用程序,它本身注册在一个自定义的URI协议(IRMA:')之后,在http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx

I've successfully created a little app that registers itself under a custom uri protocol ('irma:') following the msdn entry at http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx

这通过在shell / CMD等开设这样的手动链接时,却发出了这样的链接时,工作完全正常,前景并不在该注册表项设置的客户认识到那些'自动'。我必须做些额外的事情让后市处理此类自定义的URI或是否有可能呢?

This works perfectly fine when opening such a link manually via the shell/cmd etc, but when sending out links like that, outlook does not recognize those 'automatically' on the clients that registry key is set. Do I have to do something extra to let outlook handle such custom uri's or is it possible at all?

欢呼声和感谢, -j

Cheers and thanks, -j

推荐答案

[OK,我会后这是一个新的答案,以保持这一个干净而不删除所有的previously发布的内容。]

[OK, I'll post this as a new answer to keep this one clean without deleting all of the previously posted content.]

我刚才反复在我的其他的答案中提到的研究,似乎事情已经在过去三年大大提高。在Outlook 2003(SP3)和Outlook 2007(SP2),现在可以自动识别所有的Microsoft产品支持邮件中的NG线程从我的旧的答案链接,引用列出的协议包括网​​址: - 方案!

I have just repeated the research mentioned in my other answer and it seems that things have greatly improved in the last three years. Both Outlook 2003 (SP3) and Outlook 2007 (SP2) now automatically recognize all of the protocols listed in the MS product support mail quoted in the NG thread linked from my older answer, including the url:-protocol!

这是你现在可以编写类似后者的意思是:

The latter means that you can now write something like:

url:irma:whatever

和有它正确linkified和处理。展望执行协议处理程序之前,将然而,显示安全确认对话框。

and have it properly linkified and handled. Outlook will however display a security confirmation dialog before executing the protocol handler.

更新:请注意,在Outlook 2003 SP3的新协议(如网​​址:彩信:// ,系统等)是唯一的自动linkified在HTML中的电子邮件。纯文本检查的行为在我其他的答案中描述。它与纯文本邮件在Outlook 2007 SP2工作,但是。

Update: Note that in Outlook 2003 SP3 the new protocols (e.g. url:, mms://, etc.) are only auto-linkified in HTML-mails. The plain-text inspector behaves as described in my other answer. It does work with plain-text mails in Outlook 2007 SP2, however.

我仍然没有发现任何暗示简单地在Outlook中注册自定义的协议,将工作没有 URL的功能: - preFIX,但是

I have still found no hints at the ability to simply register custom protocols within Outlook that would work without the url:-prefix, however.