Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Other Programming > Other Programming Languages
|
Other Programming Languages If you have a coding issue to discuss about another language that really isn't provided for in any other forum here (not ASP.NET C#, C++, VB, PHP, JavaScript, Python, Java, Perl, Applescript, XML or any of the other forum topics we have), post it here. Enough discussion on a language we don't have covered could prompt a new forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Other Programming Languages section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 28th, 2006, 12:38 AM
Registered User
 
Join Date: Apr 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Open .msg / .eml file in Browser/placeholder withi

Hello Experts
I have to open the .msg / .eml files in the browser just as .doc files are opened in the native applications within the browser.
Please inform how this can be done.

Alternatively using asp.net 1.1 and vb.net/c# can I open the .msg/.eml files in native application within any placeholder / literal

or any client side scripting

All ideas are welcome.

Thanks in advance

Atul


Reply With Quote
  #2 (permalink)  
Old July 4th, 2006, 07:29 PM
Registered User
 
Join Date: Jul 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You may need to enable the .msg mime type on your webserver. On IIS6 go to the HTTP Headers tab, click on MIME Types, add new mime type, add extension .msg in the extension field, and give it a name in MIME type field. Ok this setting. This should enable browsing of .msg files

Reply With Quote
  #3 (permalink)  
Old August 10th, 2006, 02:15 AM
Registered User
 
Join Date: Aug 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

use flash decompiler
download page: http://www.sothink.com/product/flash...iler/index.htm

Reply With Quote
  #4 (permalink)  
Old October 13th, 2006, 10:42 AM
Registered User
 
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got this working recently in a Java servlet using:

response.setContentType("application/vnd.ms-outlook");
response.setHeader("Content-Disposition", "inline; filename=x.msg");

I don't know that the ContentType actually does much, I think it is the file extension set in Content-Disposition that makes it work.

Note that the email opens in Outlook, not the browser, so the client will need Outlook installed for this to work. I did not find a way to get the browser to display the message directly.

Hope this helps.
Reply With Quote





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to open .msg file in VB haiying Access VBA 8 February 16th, 2008 10:23 AM
Open File with .eml,.msg extension in IE sanjaykp ASP.NET 1.0 and 1.1 Professional 2 April 29th, 2006 02:23 AM
Open .msg / .eml file in Browser/placeholder withi ai4u ASP.NET 1.0 and 1.1 Professional 0 April 28th, 2006 12:36 AM
PHP File Doesn't Open in Browser kara333 BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 November 29th, 2004 11:40 AM
open a pdf file in browser viren_balaut Pro JSP 0 January 12th, 2004 01:27 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.