Handle Hyperlink Click Event in Outlook Mail in C#

偶尔善良 提交于 2019-12-01 04:07:00

问题


I want to handle the hyperlink click event in an outlook mail. To open the hyperlinks in outlook mails without opening the browser within itself.

Does anyone know how to handle hyperlink click event on a mail item?


回答1:


After searching a lot, I found that there is no way to catch the hyperlink click event in outlook.

If we want to catch a link we can define our own protocol url as follow.

http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx

Then using our own protocol handler we can catch the event.

If someone needs more information ask here.




回答2:


Write an Outlook Add-in .net to handle that. To get the basic idea about writing an add- in look at the following link.

http://blogs.msdn.com/b/dancre/archive/2004/03/21/93712.aspx



来源:https://stackoverflow.com/questions/10925891/handle-hyperlink-click-event-in-outlook-mail-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!