Link to home
Start Free TrialLog in
Avatar of sulzener
sulzenerFlag for United States of America

asked on

view MSG file contents in browser automatically

I have a web application that will allow me to attach files (XLS, DOC, PPT, JPG, etc.) and view them later when clicked from the browser.  The browser will automatically open the proper application based upon the file MIME type.  Here are some sample for other MS types:
application/vnd.ms-excel
application/msword
application/vnd.ms-powerpoint
image/jpeg
(see http://www.w3schools.com/media/media_mimeref.asp)

Does anyone know how I could do this for an Outlook MSG type?  I've tried
application/vnd.ms-outlook
application/vnd.outlook
application/outlook

and they do not seem to work. Any suugestions


Avatar of TheACTDude
TheACTDude

Add a new Mime type  and add .msg extension and MIME TYPE application/octet-stream

TJ
Avatar of sulzener

ASKER

TJ, I tried that before and it didn't work.  It pulled it into my web editor for some reason.  I tried it again after you suggested it, and got the same results.  Maybe I'm not adding it in the same place as you.  Where do I add this in your mind?
I added it to the Default Website.

I currently use this on a web based contact management system in which users attach outlook messages to contact records.

TJ
TJ ... I'm confused.  Could you be more basic.  How did you add it? Did you go to Tools/FoldersOptions/FileTypes inside Windows Explorer and add it there?
Sorry bout that...

I did this on my direclty on the webserver. What is hosting you web files? Are they local on your machine or are you accesing the pages from a server?

TJ
TJ,  I dropped the ball on this question.  To answer your question, I am using Cold Fusion over IIS.  Users would be accessing the web application remotely.  They attached files are stored on the web server.  Does that help?
ASKER CERTIFIED SOLUTION
Avatar of TheACTDude
TheACTDude

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank TJ.  It still doesn't want to open my Outlook but I think you answered my question.  I will award the points to close out this question.