Title: Excel spreadsheet attachment in dtml-sendmail

Hi again,

Now on to my next problem.. I have tried the below code to send off a spreadsheet as an attachment and am getting a dat file and a 232B file that can’t be read.

Here’s the code from zopelabs.com appropriated to my own info:

<dtml-sendmail mailhost=MailHost>
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: some subject
<dtml-mime type=application/msexcel encode=base64>
Content-Disposition: inline; filename="ics.xls"
<dtml-boundary name=ics.xls type=application/msexcel
disposition=attachment encode=base64>
</dtml-mime>

</dtml-sendmail>

I thought they type was supposed to be application/vend.msexcel
I've tried both ways tho but to no avail.

Thanks in advance,
Chris Larsen

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to