Re: Mime-mapping to trigger e-mail client

2005-03-07 Thread Rob Hunt
So, I tried setting the servlet response content type to message/rfc822.

With Netscape Nav 7.2, it prompts me to open the default application 
(suggesting MS Outlook Express, which is my default e-mail app).  I click OK 
and get the e-mail content in all its glory.

With IE 6, it simply displays the (rich text) content.  This is fine.  However, 
if I want to view any attachments, I have to Save target as... and then open 
the saved file to access the attachments.  Does anyone know of the appropriate 
response headers to force IE to trigger the e-mail client?


- Original Message - 
Sent: Sunday, March 06, 2005 9:50 AM
Subject: Mime-mapping to trigger e-mail client


I've got RFC822 e-mail messages stored in a database.  I'd prefer *not* to 
write (or rely on) an email-to-HTML converter.  Instead, I'd like to serve the 
content as-is and have the client's browser recognize the mime type and trigger 
an e-mail client.  My question is, what mime-mapping will produce this behavior?

Thanks!

Mime-mapping to trigger e-mail client

2005-03-06 Thread Rob Hunt
I've got RFC822 e-mail messages stored in a database.  I'd prefer *not* to 
write (or rely on) an email-to-HTML converter.  Instead, I'd like to serve the 
content as-is and have the client's browser recognize the mime type and trigger 
an e-mail client.  My question is, what mime-mapping will produce this behavior?

Thanks!