-->

Handle Hyperlink Click Event in Outlook Mail in C#

2020-03-23 17:52发布

问题:

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