keyongtech


  keyongtech > win32.programmer.* > win32.programmer.messaging > 04/2006

 #1  
04-07-06, 07:06 AM
rajesh
I am trying to attach/embed a message inside another message (IMessage) where
PR_ATTACH_METHOD = ATTACH_EMBEDDED_MSG
The problem is that the Content-Type and Content-Disposition lose the
attachment file name information. Most mailers can handle the problem except
for Hotmail which shows the attachment as message3.txt.

The header for the attachement is:
------=_NextPart_000_0009_01C6598B.3FD7C7B0
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment

From: <a>
To: <c>
etc.
==============================
I would like it to be the following:
=========================
Content-Type: message/rfc822; name="test.eml"
Content-Transfer-Encoding: 7bit
Content-disposition:attachment;
filename="test.eml"

From: <a>
To: <c>
etc.
==================================
Any ideas how I go about setting the right properties ?

Thanks
Rajesh
 #2  
04-07-06, 12:46 PM
donald
Hi rajesh,

This is not to do with this post it to do with one of your older one
which is to old to reply on it.

You had a problem with Quick View Plus
http://groups.google.co.uk/group/mic...2a4829d4df3915

I had the same problem if you e-mail me i can sort this out for you.

Donald
Similar Threads
JSP XML content-disposition

I am trying to have a jspx page return an excel attachment. I have it working with a plain jsp file using the following . <%@ page contentType="application/excel;...

Content-disposition question

Hi. First of all, I *HAVE* to express my annoyance with how badly (at least) this content thing is documented in MSDN. There's no head, nor tail to it. Anyway, I have this...

Content-disposition

Basically I want to add a Content-disposition header for .wmv files on my site, so as to get rid of all .wmd files. What I am trying to achieve is using an embeded player on...

Trouble with Content-Disposition -- Pls Help!

Having trouble with the following code: Response.ContentType = "application/binary" Response.AddHeader "Content-Disposition","attachment; filename=test.txt" I have a file...

content-disposition on IE5

I can't get a file download working on IE5. It works on IE6 and I couldn't find a solution on google. Here's the code: Response.ContentType =...


All times are GMT. The time now is 07:26 PM. | Privacy Policy