When I send a mail with attachment an excel file ,the attachment is also displayed along with the mail as part of the mail and not as an attachment
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Devarajan_Narasimhan
Posted On:   Wednesday, July 10, 2002 05:30 AM

When I send a mail with attachment an excel file ,the attachment is also displayed along with the mail as part of the mail and not as an attachment.Moreover the content of the excel file is not displayed in excel format . I don't know what content type for excel attachment need to be set in the multipart.Is there any way to avoid dispaying the attachment in the same page?. The attachment displayed like this. Subject: Test mail for attachment Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_0_1530713.1023705540244" ------=_Part_0_1530713.1023705540244 Content-Type: text/html; charset=us-ascii    More>>


When I send a mail with attachment an excel file ,the attachment is also displayed along with the mail as part of the mail and not as an attachment.Moreover the content of the excel file is not displayed in excel format . I don't know what content type for excel attachment need to be set in the multipart.Is there any way to avoid dispaying the attachment in the same page?.



The attachment displayed like this.



Subject: Test mail for attachment



			
Mime-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_0_1530713.1023705540244"

------=_Part_0_1530713.1023705540244
Content-Type: text/html; charset=us-ascii


Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Attachment Type: xls
------=_Part_0_1530713.1023705540244
Content-Type: application/octet-stream; name=CDDAudit.xls
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename=CDDAudit.xls

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAAAAAAAAAABAAAAIQAAAAAAAAAA
EAAA/v///wAAAAD+////AAAAACAAAAD/////////////////////////////////////////////
------=_Part_0_1530713.1023705540244--

   <<Less

Re: attachment

Posted By:   Eugene_Kuleshov  
Posted On:   Wednesday, July 10, 2002 01:26 PM

Attachment content type is ok. Something wrong with the mimemail envelope. You can try to remove "Content-Disposition: inline" header for the body part of your envelope. It might help.
About | Sitemap | Contact