注册 Outlook 识别的自定义 url protocl 处理程序? [英] Registering custom url protocl handler that Outlook recognizes?

查看:30
本文介绍了注册 Outlook 识别的自定义 url protocl 处理程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

早上好,

我已经成功创建了一个小应用程序,它在 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 等手动打开这样的链接时,这工作得很好,但是当发送这样的链接时,Outlook 无法在设置了注册表项的客户端上自动"识别那些链接.我是否必须做一些额外的事情才能让 Outlook 处理这样的自定义 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

推荐答案

[好的,我会将此作为新答案发布,以保持此答案的清洁而不删除所有先前发布的内容.]

[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) 现在都会自动识别 MS 产品支持邮件中列出的所有协议,该邮件引用自我的旧答案链接的 NG 线程,包括 url:-协议!

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

并正确链接和处理它.然而,Outlook 将在执行协议处理程序之前显示一个安全确认对话框.

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

更新:请注意,在 Outlook 2003 SP3 中,新协议(例如 url:mms:// 等)仅适用于在 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:-前缀即可工作.

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

这篇关于注册 Outlook 识别的自定义 url protocl 处理程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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