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:
Major Security Hole IIS NT (1998)
4.5.1 upgrade fee (2003)
WebCat2: Formulas.db question (1997)
Max Record length restated as maybe bug (1997)
WebDNA Windows 5.0 sendmail bug (2003)
[isfolder] and [filename] (1997)
[WebDNA] WebSite Examples (2008)
using showpage and showcart commands (1996)
For those of you not on the WebCatalog Beta... (1997)
Re:Emailer and encryption (1997)
2.0Beta Command Ref (can't find this instruction) (1997)
Banners (1997)
Bad Cookie (1998)
RE: [BULK] RE: [WebDNA] RE: Error. WebDNA (version 5.1g or later) is not running. (2012)
Time for a hard questions. (1997)
SiteEditPro (1996)
Multiple download orders of the same product? (1997)
Download URL & access on the fly ? (1997)
Help! WebCat2 bug (1997)
mass mailing (1998)