The context is the following one :
- Users can open eml files from explorer with desktop client (like lotus notes)
- When the eml file is opened from the website this response header : Content-Type: message/rfc822 along with Content-Disposition: inline; filename="myfile.eml are sent to Internet explorer
- This mime type is common between mhtml and eml files
- I used "inline" as I want to minimize user interaction (avoid open/save dialog box)
- Internet Explorer 9 as the default explorer always recreates the following registry entry HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\MIMEAssociations**message/rfc822**\UserChoice "Progid"="IE.message/rfc822"
- If this entry is removed eml files are opened with my desktop mail client
- But any changes tho this entry is detected by IE during launch and it asks to be the default browser to restore the registry entry above
Do you have an idea for a workaround ?
What I can do
- Change the way the way the eml file is treated by the website
- change IE Settings (it's an intranet, I can deploy registry patches !)
What I can't do
- use a different browser (chrome, firefox)
- make IE a non default browser