<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4417.0">
<TITLE>Excel spreadsheet attachment in dtml-sendmail</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hi again,<BR>
<BR>
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.<BR>
<BR>
Here’s the code from zopelabs.com appropriated to my own info:<BR>
<BR>
<dtml-sendmail mailhost=MailHost><BR>
To: chris@hssc.com<BR>
From: chris@hssc.com<BR>
Subject: some subject<BR>
<dtml-mime type=application/msexcel encode=base64><BR>
Content-Disposition: inline; filename="ics.xls"<BR>
<dtml-boundary name=ics.xls type=application/msexcel<BR>
disposition=attachment encode=base64><BR>
</dtml-mime><BR>
<BR>
</dtml-sendmail><BR>
<BR>
I thought they type was supposed to be application/vend.msexcel<BR>
I've tried both ways tho but to no avail.<BR>
<BR>
Thanks in advance,<BR>
Chris Larsen<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>