Re: Sendmail Excel attachment
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51832
interpreted = N
texte = Thanks John,I've made the changes you recommended, but the attachment still isn't coming through:[TEXT]line_ending=[UnURL]%0D%0A[/UnURL][/TEXT][sendmail TO=andy@gin-n-tonic.com&FROM=test@gin-n-tonic.com&SUBJECT=TEST&Content- Type=multipart/mixed; boundary="1234abcd"&MIME-version=1.0][!][/!]--1234abcd[line_ending][!][/!]Content-Type: text/plain[line_ending][line_ending][!][/!]The attached tab-delimited text file will open easily into Excel.[line_ending][!][/!]--1234abcd[line_ending][!][/!]Content-Type: text/plain; name="test1.xls"[line_ending][!][/!]Content-Transfer-Encoding: base64[line_ending][!][/!]Content-Disposition: attachment; filename="test1.xls"[line_ending][!][/!][encrypt method=base64&file=test1.xls&EMAILFORMAT=T][/ encrypt][line_ending][line_ending][!][/!]--1234abcd--[/sendmail]Here's the entire message that I'm now getting:From: test@gin-n-tonic.comDate: Tue Jul 22, 2003 11:44:47 US/EasternTo: andy@gin-n-tonic.comSubject: TESTReturn-Path: test@gin-n-tonic.comReceived: from adultmilwaukee.com (adultmilwaukee.com [66.93.172.128]) by furlong.seagull.net (8.9.3) with ESMTP id IAA20085 sender test@gin-n-tonic.com for
; Tue, 22 Jul 2003 08:44:48 -0700Received: from dsl093-060-193.pit1.dsl.speakeasy.net (localhost [127.0.0.1]) by adultmilwaukee.com (8.12.1/8.12.0) with SMTP id h6MFil8V017544 for ; Tue, 22 Jul 2003 11:44:47 -0400 (EDT)Message-Id: <200307221544.h6MFil8V017544@adultmilwaukee.com>X-Mailer-Version: 20030702X-From: test@gin-n-tonic.comX-Recipient: andy@gin-n-tonic.comContent-Type: multipart/mixed; boundary="1234abcd"Mime-Version: 1.0Status:The attached tab-delimited text file will open easily into Excel.Anyone have any other ideas?AndyOn Tuesday, Jul 22, 2003, at 11:20 US/Eastern, John Peacock wrote:> andy mowrey wrote:>>> 7. This is the WebDNA I'm using on Mac 10.2.4/WebDNA 4.5.1:>> [TEXT]line_ending=%0D[/TEXT]>> This is your problem. All e-mail messages require CR/LF pairs, not > whatever local EOL character is in vogue. Change the above to>> [TEXT]line_ending=[UnURL]%0D%0A[/UnURL][/TEXT]>> and take out the [UnURL]'s in your code and it should work fine.>> John>> -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4501 Forbes Boulevard> Suite H> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5748>>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Thanks John,I've made the changes you recommended, but the attachment still isn't coming through:[text]line_ending=[unurl]%0D%0A[/UnURL][/TEXT][sendmail TO=andy@gin-n-tonic.com&FROM=test@gin-n-tonic.com&SUBJECT=TEST&Content- Type=multipart/mixed; boundary="1234abcd"&MIME-version=1.0][!][/!]--1234abcd[line_ending][!][/!]Content-Type: text/plain[line_ending][line_ending][!][/!]The attached tab-delimited text file will open easily into Excel.[line_ending][!][/!]--1234abcd[line_ending][!][/!]Content-Type: text/plain; name="test1.xls"[line_ending][!][/!]Content-Transfer-Encoding: base64[line_ending][!][/!]Content-Disposition: attachment; filename="test1.xls"[line_ending][!][/!][encrypt method=base64&file=test1.xls&EMAILFORMAT=T][/ encrypt][line_ending][line_ending][!][/!]--1234abcd--[/sendmail]Here's the entire message that I'm now getting:From: test@gin-n-tonic.comDate: Tue Jul 22, 2003 11:44:47 US/EasternTo: andy@gin-n-tonic.comSubject: TESTReturn-Path: test@gin-n-tonic.comReceived: from adultmilwaukee.com (adultmilwaukee.com [66.93.172.128]) by furlong.seagull.net (8.9.3) with ESMTP id IAA20085 sender test@gin-n-tonic.com for ; Tue, 22 Jul 2003 08:44:48 -0700Received: from dsl093-060-193.pit1.dsl.speakeasy.net (localhost [127.0.0.1]) by adultmilwaukee.com (8.12.1/8.12.0) with SMTP id h6MFil8V017544 for ; Tue, 22 Jul 2003 11:44:47 -0400 (EDT)Message-Id: <200307221544.h6MFil8V017544@adultmilwaukee.com>X-Mailer-Version: 20030702X-From: test@gin-n-tonic.comX-Recipient: andy@gin-n-tonic.comContent-Type: multipart/mixed; boundary="1234abcd"Mime-Version: 1.0Status:The attached tab-delimited text file will open easily into Excel.Anyone have any other ideas?AndyOn Tuesday, Jul 22, 2003, at 11:20 US/Eastern, John Peacock wrote:> andy mowrey wrote:>>> 7. This is the WebDNA I'm using on Mac 10.2.4/WebDNA 4.5.1:>> [text]line_ending=%0D[/TEXT]>> This is your problem. All e-mail messages require CR/LF pairs, not > whatever local EOL character is in vogue. Change the above to>> [text]line_ending=[unurl]%0D%0A[/UnURL][/TEXT]>> and take out the [unurl]'s in your code and it should work fine.>> John>> -- > John Peacock> Director of Information Research and Technology> Rowman & Littlefield Publishing Group> 4501 Forbes Boulevard> Suite H> Lanham, MD 20706> 301-459-3366 x.5010> fax 301-429-5748>>> -------------------------------------------------------------> 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://webdna.smithmicro.com/>-------------------------------------------------------------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://webdna.smithmicro.com/
andy mowrey
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:
PCS Frames-Default page is solution! (1997)
Stats (2004)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
[append] problem (1997)
OBJECT (2001)
Great product and great job ! (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997)
This message couldn't reach the list! (1998)
RE: [WebDNA] [OT] the "Work in progress" thread. (2009)
[WebDNA] Adding Graphics to Directory (2009)
Where is f2? (1997)
Cookie still not working (1999)
NOT Search (1998)
showcart context? (1998)
RequiredFields template (1997)
I give up!! (1997)
Format all of a sudden doesn't work (1997)
Erotic Sites (1997)
Re2: frames & carts (1997)