ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> zope-list
zope-list
[Zope] Excel spreadsheet attachment in dtml-sendmail
by Chris Larsen other posts by this author
Aug 31 2005 1:10PM messages near this date
Re: [Zope] ZMySQLDA | RE: [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@[...].com
From: chris@[...].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
Attachments:
unknown1
unknown2
unknown3
unknown4

Thread:
Chris Larsen
Chris Larsen
Chris Withers

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved