attachment stupidity...
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 38180
interpreted = N
texte = ok, searched the archives... I am using nearly verbatim the text abouthow to do an email attachment...it is attaching the file, but it'salso including some of the header info in the attached file...I amtrying to generate a tab-delimited file that my clients can opendirectly into Excel, and if I simply grab the file off the serverdirectly, it looks fine, so I've gone that far with no problem...(web dna in my .tpl file)[sendmail Mime-Version=1.0&Content-Type=mulitpart/mixed;boundary=**********&to=ttribby@wickham.com&from=user@domain.com&subject=excel attachment]**********Content-Type: text/plain; name=whatever you need; charset=us-ascii...test excel file attached...**********Content-Type: text/plain; name=whatever you need; charset=us-asciiContent-Disposition: attachment; filename=shipbrochure.xls[include file=excel/shipbrochure.xls]**********[/sendmail]in my email program, the attachment shows up named multipart1 rather than shipbrochure.xlswhen I save it and open it, it looks like this:**********Content-Type: text/plain; name=whatever you need; charset=us-ascii...test excel file attached...**********Content-Type: text/plain; name=whatever you need; charset=us-asciiContent-Disposition: attachment; filename=shipbrochure.xls(actual contents of tab-delimited file, which I have snipped since they're long)**********any ideas?a.t.tribby-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|
- attachment stupidity... (Anthony Tribby 2001)
|
ok, searched the archives... I am using nearly verbatim the text abouthow to do an email attachment...it is attaching the file, but it'salso including some of the header info in the attached file...I amtrying to generate a tab-delimited file that my clients can opendirectly into Excel, and if I simply grab the file off the serverdirectly, it looks fine, so I've gone that far with no problem...(web dna in my .tpl file)[sendmail Mime-Version=1.0&Content-Type=mulitpart/mixed;boundary=**********&to=ttribby@wickham.com&from=user@domain.com&subject=excel attachment]**********Content-Type: text/plain; name=whatever you need; charset=us-ascii...test excel file attached...**********Content-Type: text/plain; name=whatever you need; charset=us-asciiContent-Disposition: attachment; filename=shipbrochure.xls[include file=excel/shipbrochure.xls]**********[/sendmail]in my email program, the attachment shows up named multipart1 rather than shipbrochure.xlswhen I save it and open it, it looks like this:**********Content-Type: text/plain; name=whatever you need; charset=us-ascii...test excel file attached...**********Content-Type: text/plain; name=whatever you need; charset=us-asciiContent-Disposition: attachment; filename=shipbrochure.xls(actual contents of tab-delimited file, which I have snipped since they're long)**********any ideas?a.t.tribby-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Anthony Tribby
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2: Items xx to xx shown, etc. (1997)
search double negative comparison (2001)
Separate SSL Server (1997)
Date Calulation (1997)
Passing a search through a form (2003)
[WebDNA] XML Parsing Error Help (2010)
Click-through/Referral tracking solution needed (2000)
[include ...] behavior (1997)
Gil's in the lead (1999)
Locking up with WebCatalog... (1997)
Pithy questions on webcommerce & siteedit (1997)
Erotic Sites (1997)
Search Engines (2002)
searching twice on same field (1998)
[ModDate] & [ModTime] ? (1997)
Re[2]: 2nd WebCatalog2 Feature Request (1996)
FTP Problem (2005)
URL encoding (1998)
Postprocessing CCs (2000)
Execute Applescript (1997)