[Zope] Excel spreadsheet attachment in dtml-sendmail

Chris Larsen chris at hssc.com
Wed Aug 31 16:41:29 EDT 2005


Never mind.. the dtml-boundary looks like this now.. I guess that
zopelabs.com how-to needs to be updated.. oh well.

 

<dtml-boundary disposition=attachment type=application/vend.ms-excel
encode=base64 filename=ics.xls><dtml-var expr="ics.data">

 

  _____  

From: Chris Larsen 
Sent: Wednesday, August 31, 2005 3:10 PM
To: zope at zope.org
Subject: [Zope] 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: chris at hssc.com
From: chris at hssc.com
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20050831/33eb0515/attachment.htm


More information about the Zope mailing list