Re: Sendmail Excel attachment

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51830
interpreted = N
texte = Hi! I'm still not getting my attachment to come through & I've done the following: 1. Checked permissions of attached file and folder (set to 777 for testing) drwxrwxrwx 12 user group 408 Jul 22 09:29 Poll -rwxrwxrwx 1 user group 2513 Jul 22 11:03 sendmail.tpl -rwxrwxrwx 1 user group 46 Jul 21 20:09 test.xls 2. Checked EmailLog for errors, but everything checks out: 07/22/2003 09:29:54 Sending Message To: andy@gin-n-tonic.com 0 07/22/2003 09:29:55 Mail successfully sent 0 1058880588372672done 3. Checked EmailProblem, but nothing is listed 4. Examined the mail in EMailCompleted TO: andy@gin-n-tonic.com FROM: test@gin-n-tonic.com SUBJECT: SANITY IS OVERRATED Content-Type: multipart/mixed; boundary=1234abcd MIME-version: 1.0 --1234abcd^MContent-Type: text/plain^MThe attached tab-delimited text file will open easily into Excel.^M--1234abcd^MContent-Type: text/plain; name=test.xls^MCont$ JdGVzdF9kYXRhDTEJb25lDTIJdHdvDTMJdGhyZWUNNAlmb3VyDQ==^M^M--1234abcd-- 5. Researched the sending of mail attachments, which was enlightening but not problem-solving. http://www.dpo.uab.edu/Email/attach.html 6. This is the mail I'm receiving on OS X 10.2.6 Mail client: From: test@gin-n-tonic.com Date: Tue Jul 22, 2003 11:04:01 US/Eastern To: andy@gin-n-tonic.com Subject: SANITY IS OVERRATED Return-Path: test@gin-n-tonic.com Received: from adultmilwaukee.com (adultmilwaukee.com [66.93.172.128]) by furlong.seagull.net (8.9.3) with ESMTP id IAA16931 sender test@gin-n-tonic.com for ; Tue, 22 Jul 2003 08:04:04 -0700 Received: 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 h6MF418V017163 for ; Tue, 22 Jul 2003 11:04:01 -0400 (EDT) Message-Id: <200307221504.h6MF418V017163@adultmilwaukee.com> X-Mailer-Version: 20030702 X-From: test@gin-n-tonic.com X-Recipient: andy@gin-n-tonic.com Content-Type: multipart/mixed; boundary=1234abcd Mime-Version: 1.0 Status: --1234abcd Content-Type: text/plain The attached tab-delimited text file will open easily into Excel. --1234abcd Content-Type: text/plain; name=test1.xls Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=/Poll/test1.xls cG9sbF9za3UJcG9sbF9kYXRhCjEJb25lCjIJdHdvCgo= --1234abcd-- 7. This is the WebDNA I'm using on Mac 10.2.4/WebDNA 4.5.1: [TEXT]line_ending=%0D[/TEXT] [sendmail TO=andy@gin-n-tonic.com&FROM=test@gin-n-tonic.com&SUBJECT=SANITY IS OVERRATED&Content-Type=multipart/mixed; boundary=1234abcd&MIME-version=1.0][!] [/!]--1234abcd[unurl][line_ending][/unurl][!] [/!]Content-Type: text/plain[unurl][line_ending][/unurl][unurl][line_ending][/unurl][!] [/!]The attached tab-delimited text file will open easily into Excel.[unurl][line_ending][/unurl][!] [/!]--1234abcd[unurl][line_ending][/unurl][!] [/!]Content-Type: text/plain; name=test1.xls[unurl][line_ending][/unurl][!] [/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!] [/!]Content-Disposition: attachment; filename=/Poll/test1.xls[unurl][line_ending][/unurl][!] [/!][encrypt method=base64&file=test1.xls&EMAILFORMAT=T][/ encrypt][unurl][line_ending][/unurl][unurl][line_ending][/unurl][!] [/!]--1234abcd-- [/sendmail] Anyone have ANY idea what could be happening here? Tia, Andy > On Monday, Jul 21, 2003, at 17:36 US/Eastern, Dan Strong wrote: > >> Andy, >> >> This code has always worked for me on MacOSX, WebDNA 4.0.2rc1a: >> >> ================================= >> [sendmail TO=howdy@doody.com&FROM=whoever@wherever.com&SUBJECT=SANITY >> IS OVERRATED&Content-Type=multipart/mixed; >> boundary="1234abcd"&MIME-version=1.0][!] >> [/!]--1234abcd >> Content-Type: text/plain >> >> The attached tab-delimited text file will open easily into Excel. >> >> --1234abcd >> Content-Type: text/plain; name="The_File.xls" >> Content-Transfer-Encoding: base64 >> Content-Disposition: attachment; filename="The_File.xls" >> >> [encrypt >> method=base64&file=path_to/The_File.xls&EMAILFORMAT=T][/encrypt] >> >> --1234abcd-- >> [/sendmail] >> ================================= >> >> HTH >> >> -Dan >> ------------------------------------------------------------ >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> ------------------------------------------------------------ >> >> >> >> >> On Mon, 21 Jul 2003 17:17:20 -0400 >> andy mowrey wrote: >>> Hi! >>> >>> I'm trying to send a tabbed file as an attachment using [sendmail] >>> on a Mac 10.2.4 running WebDNA 4.5.1, but it never comes through >>> and the errors in the email logs aren't specific enough to help. >>> I've tried commenting out the Unix & Mac line endings, but neither >>> does the trick. Here's the code I'm using (based on some of >>> Scott's code from the archives): >>> >>> >>> [TEXT]boundary=Multipart_[date]_[time]_[cart][/TEXT] >>> [!][TEXT]line_ending=%0D%0A[/TEXT][/!] [!]----- WINDOWNS CRLF >>> -----[/!] >>> [!][TEXT]line_ending=%0D[/TEXT][/!] [!]----- MAC CR -----[/!] >>> [TEXT]line_ending=%0A[/TEXT] [!]----- UNIX LF -----[/!] >>> [TEXT]attach_filename=test.db[/TEXT] >>> [SENDMAIL >>> to=andy@gin-n-tonic.com&from=test@gin-n- >>> tonic.com.com&subject=Testing Binary >>> Attachment&MIME-version=1.0&Content-Type=multipart/ >>> mixed;boundary=[boundary]][!] >>> [/!]--[boundary][unurl][line_ending][/unurl][!] >>> [/!]Content-Type: text/plain[unurl][line_ending][/unurl][!] >>> [/!]Content-Transfer-Encoding: >>> 7bit[unurl][line_ending][line_ending][/unurl][!] >>> [/!]This email contains an Excel document >>> attachment:--[boundary][unurl][line_ending][/unurl][!] >>> [/!]Content-Type:application/ >>> msexcel;name=[attach_filename][unurl][line_ending][/unurl][!] >>> [/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!] >>> [/!]Content-Disposition: attachment; >>> filename=[attach_filename][unurl][line_ending][line_ending][/>> >>> unurl][!] >>> [/!][encrypt >>> method=base64&file=[attach_filename]&EMAILFORMAT=T][/encrypt]-- >>> [boundary]-- >>> [/SENDMAIL] >>> >>> >>> Does anyone have any ideas on fixing this or code of their own that >>> works? >>> >>> Tia, >>> >>> Andy Mowrey ------------------------------------------------------------- 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:

    
  1. Re: Sendmail Excel Attachment ( Donovan Brooke 2006)
  2. Re: Sendmail Excel Attachment ( "Jyoti Behrani" 2006)
  3. Re: Sendmail Excel Attachment ( "Bess Ho" 2006)
  4. Re: Sendmail Excel Attachment ( Donovan Brooke 2006)
  5. Re: Sendmail Excel Attachment ( "Jyoti Behrani" 2006)
  6. Re: Sendmail Excel Attachment ( Donovan Brooke 2006)
  7. Sendmail Excel Attachment ( "Jyoti Behrani" 2006)
  8. Re: Sendmail Excel attachment ( andy mowrey 2003)
  9. Re: Sendmail Excel attachment ( John Peacock 2003)
  10. Re: Sendmail Excel attachment ( andy mowrey 2003)
  11. Re: Sendmail Excel attachment ( John Peacock 2003)
  12. Re: Sendmail Excel attachment ( andy mowrey 2003)
  13. Re: Sendmail Excel attachment ( andy mowrey 2003)
  14. Re: Sendmail Excel attachment ( andy mowrey 2003)
  15. Re: Sendmail Excel attachment ( Donovan 2003)
  16. Re: Sendmail Excel attachment ( "Dan Strong" 2003)
  17. Sendmail Excel attachment ( andy mowrey 2003)
Hi! I'm still not getting my attachment to come through & I've done the following: 1. Checked permissions of attached file and folder (set to 777 for testing) drwxrwxrwx 12 user group 408 Jul 22 09:29 Poll -rwxrwxrwx 1 user group 2513 Jul 22 11:03 sendmail.tpl -rwxrwxrwx 1 user group 46 Jul 21 20:09 test.xls 2. Checked EmailLog for errors, but everything checks out: 07/22/2003 09:29:54 Sending Message To: andy@gin-n-tonic.com 0 07/22/2003 09:29:55 Mail successfully sent 0 1058880588372672done 3. Checked EmailProblem, but nothing is listed 4. Examined the mail in EMailCompleted TO: andy@gin-n-tonic.com FROM: test@gin-n-tonic.com SUBJECT: SANITY IS OVERRATED Content-Type: multipart/mixed; boundary=1234abcd MIME-version: 1.0 --1234abcd^MContent-Type: text/plain^MThe attached tab-delimited text file will open easily into Excel.^M--1234abcd^MContent-Type: text/plain; name=test.xls^MCont$ JdGVzdF9kYXRhDTEJb25lDTIJdHdvDTMJdGhyZWUNNAlmb3VyDQ==^M^M--1234abcd-- 5. Researched the sending of mail attachments, which was enlightening but not problem-solving. http://www.dpo.uab.edu/Email/attach.html 6. This is the mail I'm receiving on OS X 10.2.6 Mail client: From: test@gin-n-tonic.com Date: Tue Jul 22, 2003 11:04:01 US/Eastern To: andy@gin-n-tonic.com Subject: SANITY IS OVERRATED Return-Path: test@gin-n-tonic.com Received: from adultmilwaukee.com (adultmilwaukee.com [66.93.172.128]) by furlong.seagull.net (8.9.3) with ESMTP id IAA16931 sender test@gin-n-tonic.com for ; Tue, 22 Jul 2003 08:04:04 -0700 Received: 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 h6MF418V017163 for ; Tue, 22 Jul 2003 11:04:01 -0400 (EDT) Message-Id: <200307221504.h6MF418V017163@adultmilwaukee.com> X-Mailer-Version: 20030702 X-From: test@gin-n-tonic.com X-Recipient: andy@gin-n-tonic.com Content-Type: multipart/mixed; boundary=1234abcd Mime-Version: 1.0 Status: --1234abcd Content-Type: text/plain The attached tab-delimited text file will open easily into Excel. --1234abcd Content-Type: text/plain; name=test1.xls Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=/Poll/test1.xls cG9sbF9za3UJcG9sbF9kYXRhCjEJb25lCjIJdHdvCgo= --1234abcd-- 7. This is the WebDNA I'm using on Mac 10.2.4/WebDNA 4.5.1: [text]line_ending=%0D[/TEXT] [sendmail TO=andy@gin-n-tonic.com&FROM=test@gin-n-tonic.com&SUBJECT=SANITY IS OVERRATED&Content-Type=multipart/mixed; boundary=1234abcd&MIME-version=1.0][!] [/!]--1234abcd[unurl][line_ending][/unurl][!] [/!]Content-Type: text/plain[unurl][line_ending][/unurl][unurl][line_ending][/unurl][!] [/!]The attached tab-delimited text file will open easily into Excel.[unurl][line_ending][/unurl][!] [/!]--1234abcd[unurl][line_ending][/unurl][!] [/!]Content-Type: text/plain; name=test1.xls[unurl][line_ending][/unurl][!] [/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!] [/!]Content-Disposition: attachment; filename=/Poll/test1.xls[unurl][line_ending][/unurl][!] [/!][encrypt method=base64&file=test1.xls&EMAILFORMAT=T][/ encrypt][unurl][line_ending][/unurl][unurl][line_ending][/unurl][!] [/!]--1234abcd-- [/sendmail] Anyone have ANY idea what could be happening here? Tia, Andy > On Monday, Jul 21, 2003, at 17:36 US/Eastern, Dan Strong wrote: > >> Andy, >> >> This code has always worked for me on MacOSX, WebDNA 4.0.2rc1a: >> >> ================================= >> [sendmail TO=howdy@doody.com&FROM=whoever@wherever.com&SUBJECT=SANITY >> IS OVERRATED&Content-Type=multipart/mixed; >> boundary="1234abcd"&MIME-version=1.0][!] >> [/!]--1234abcd >> Content-Type: text/plain >> >> The attached tab-delimited text file will open easily into Excel. >> >> --1234abcd >> Content-Type: text/plain; name="The_File.xls" >> Content-Transfer-Encoding: base64 >> Content-Disposition: attachment; filename="The_File.xls" >> >> [encrypt >> method=base64&file=path_to/The_File.xls&EMAILFORMAT=T][/encrypt] >> >> --1234abcd-- >> [/sendmail] >> ================================= >> >> HTH >> >> -Dan >> ------------------------------------------------------------ >> http://www.StrongGraphicDesign.com >> (208) 319-0137 | Toll-free p/f 877-561-1656 >> ------------------------------------------------------------ >> >> >> >> >> On Mon, 21 Jul 2003 17:17:20 -0400 >> andy mowrey wrote: >>> Hi! >>> >>> I'm trying to send a tabbed file as an attachment using [sendmail] >>> on a Mac 10.2.4 running WebDNA 4.5.1, but it never comes through >>> and the errors in the email logs aren't specific enough to help. >>> I've tried commenting out the Unix & Mac line endings, but neither >>> does the trick. Here's the code I'm using (based on some of >>> Scott's code from the archives): >>> >>> >>> [text]boundary=Multipart_[date]_[time]_[cart][/TEXT] >>> [!][text]line_ending=%0D%0A[/TEXT][/!] [!]----- WINDOWNS CRLF >>> -----[/!] >>> [!][text]line_ending=%0D[/TEXT][/!] [!]----- MAC CR -----[/!] >>> [text]line_ending=%0A[/TEXT] [!]----- UNIX LF -----[/!] >>> [text]attach_filename=test.db[/TEXT] >>> [SENDMAIL >>> to=andy@gin-n-tonic.com&from=test@gin-n- >>> tonic.com.com&subject=Testing Binary >>> Attachment&MIME-version=1.0&Content-Type=multipart/ >>> mixed;boundary=[boundary]][!] >>> [/!]--[boundary][unurl][line_ending][/unurl][!] >>> [/!]Content-Type: text/plain[unurl][line_ending][/unurl][!] >>> [/!]Content-Transfer-Encoding: >>> 7bit[unurl][line_ending][line_ending][/unurl][!] >>> [/!]This email contains an Excel document >>> attachment:--[boundary][unurl][line_ending][/unurl][!] >>> [/!]Content-Type:application/ >>> msexcel;name=[attach_filename][unurl][line_ending][/unurl][!] >>> [/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!] >>> [/!]Content-Disposition: attachment; >>> filename=[attach_filename][unurl][line_ending][line_ending][/>> >>> unurl][!] >>> [/!][encrypt >>> method=base64&file=[attach_filename]&EMAILFORMAT=T][/encrypt]-- >>> [boundary]-- >>> [/SENDMAIL] >>> >>> >>> Does anyone have any ideas on fixing this or code of their own that >>> works? >>> >>> Tia, >>> >>> Andy Mowrey ------------------------------------------------------------- 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:

HTML file size limit (1998) Auto-closing of databases (was DON'T use old cart file!) (1997) Check boxes (1997) There's a bug in the math context ... (1997) [showif]/[hideif] question (1997) Group search doesn't work. (1997) WC2.0 Memory Requirements (1997) [WebDNA] "Safe Write for Database" setting.... (2016) UPPERCASE (1997) Authorize.net? (2003) [isfolder] and [filename] (1997) Pirated WebCat? NOT... (2003) Separate SSL Server (1997) Bad URL reference? (1997) Re:Problem displaying search result (1997) WCS Newbie question (1997) Re:my First Ship table (1998) WebCat2b15MacPlugin - showing [math] (1997) what run level should S90WebCatalog be at? (2003) is your webDNA site 'froogle' ready ??? (2003)