0

I queried the windows search service and got back a url in the System.ItemUrl property that reads something like this

mapi15://{S-1-5-21-1517436256-507059763-2860835189-1002}/...

Now I need to open that url in outlook. I tried Process.Start(url) in c#, but that popped out this message.

enter image description here

Is there a way to open mapi urls returned from windows search service? I am using windows 8.1 and outlook 2013. I also looked at this post, but that didn't solve my problem.

Community
  • 1
  • 1
tcb
  • 4,408
  • 5
  • 34
  • 51
  • http://stackoverflow.com/questions/2400223/open-mails-in-outlook-from-java-using-the-protocol-mapi its in java but it should be relatively easy to conver to c# – Mo Patel Sep 11 '14 at 16:10
  • This post describes a problem in java that doesn't use utf16. I am using c# which uses utf16 by default for strings. The error I get when running cmd /C "mapi://..." is 'mapi15:' is not recognized as an internal or external command, operable program or batch file. – tcb Sep 11 '14 at 16:42

2 Answers2

0

Looks like this feature was removed in Office15. This thread has some discussion on the issue.

tcb
  • 4,408
  • 5
  • 34
  • 51
0

Change mapi15 to mapi in the url:

mapi://{S-1-5-21-1517436256-507059763-2860835189-1002}/...
OhBeWise
  • 5,350
  • 3
  • 32
  • 60