Open eml file link in Outlook 2010 (and not browser)

瘦欲@ 提交于 2019-12-11 12:04:26

问题


In my application, i have hyperlinks to .eml files. when i click on an .eml file link, the eml opens in the browser (IE).

What i want instead, is to open the .eml in Outlook 2010 directly (or the associated program) and not the browser.

Note that if double-click on an .eml file from my filesystem, the .eml opens in Outlook 2010.


回答1:


This is a question of your browser settings on how to handle the different file/mime types. Have a look there and link the .eml file ending to your Outlook 2010 installation. If you need more control about opening programs on the user's computer you'll need to use Flash or probably Silverlight. Just using HTML and Javascript does not let you control what software is handling the files you are linking to - this is for your own security. And still even with Flash you can't totally control on what software will handle your linked files - as far as I remember you can only set the mime type and that way steer the user's computer into the right direction.



来源:https://stackoverflow.com/questions/9553111/open-eml-file-link-in-outlook-2010-and-not-browser

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