Re: Sendmail Excel Attachment

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 68231
interpreted = N
texte = Thanks Donovan. I tried the code that you just send. But instead of = getting file as an attachment, it's included in the body of the email. This is what I get.... ************************************* ------abcdef1234=20 Testing of webdna download Content-Type: text/plain=20 ------abcdef1234=20 Content-Type: text/plain; name=3D"test2.xls"=20 Content-Transfer-Encoding: base64=20 Content-Disposition: attachment;=20 filename=3D"test2.xls"=20 DQpSZWdpc3RyYXRpb24gSUQJQXR0ZW5kZWUgTmFtZQlUeXBlIG9mIE1lbWJlcnNoaXAJRmVl CUNDIFN0YXR1cwlNZXRob2QNCg0KDQoyMDA3LUlDUEEtMTAxNQlwIHAJNAk1MC4wMAkgCVBD DQoNCjIwMDYtSUNQQS0xMDExCXkgeQkxCTEwMC4wMAlBcHByb3ZlZCAxMjM0NTYJQ0MNCg0K DQo=3D=20 ]------abcdef1234-- ********************************* Any clues on why it's not sending as an email attachment? Thanks, -Jyoti -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Donovan Brooke Sent: Friday, December 08, 2006 1:19 PM To: WebDNA Talk Subject: Re: Sendmail Excel Attachment Jyoti Behrani wrote: > Hi, >=20 > Can anyone please tell me how to send an attached Excel file using=20 > webdna sendmail context. >=20 > Thanks, > -Jyoti Jyoti, you can use any MIME headers that you want.. assuming you are using a fairly recent version of WebDNA. This stuff is in the=20 archives as well... The WebDNA docs for sendmail: http://webdna.smithmicro.com/ref/pages.html?context=3DEmailContext.html The archives: http://search.smithmicro.com/TalkListArchive/index.tpl?db=3Dwebdna-talk (punch in "sendmail attachment" & use the word and option) basic example: [TEXT]line_ending=3D[UnURL]%0D%0A%0A%0D[/UnURL][/TEXT]=1D [sendmail TO=3Dsome@some.com&FROM=3Dexisting@other.com[!] [/!]&SUBJECT=3Dattachment example[!] [/!]&Content-Type=3Dmultipart/mixed;[!] [/!] boundary=3D"------abcdef1234"&MIME-version=3D1.0][!] [/!]------abcdef1234[line_ending][!] [/!] some text [!] [/!]Content-Type: text/plain[line_ending][!] [/!]------abcdef1234[line_ending][!] [/!]Content-Type: text/plain;[!] [/!] name=3D"something.xls"[line_ending][!] [/!]Content-Transfer-Encoding: base64[line_ending][!] [/!]Content-Disposition: attachment;[line_ending][!] [/!]filename=3D"test1.xls"[line_ending][!] [/!][encrypt method=3Dbase64&file=3Dsomething.xls&EMAILFORMAT=3DT][!] [/!][/encrypt][line_ending]][!] [/!]------abcdef1234-- [/sendmail] --=20 = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do ------------------------------------------------------------- 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:

    
  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)
Thanks Donovan. I tried the code that you just send. But instead of = getting file as an attachment, it's included in the body of the email. This is what I get.... ************************************* ------abcdef1234=20 Testing of webdna download Content-Type: text/plain=20 ------abcdef1234=20 Content-Type: text/plain; name=3D"test2.xls"=20 Content-Transfer-Encoding: base64=20 Content-Disposition: attachment;=20 filename=3D"test2.xls"=20 DQpSZWdpc3RyYXRpb24gSUQJQXR0ZW5kZWUgTmFtZQlUeXBlIG9mIE1lbWJlcnNoaXAJRmVl CUNDIFN0YXR1cwlNZXRob2QNCg0KDQoyMDA3LUlDUEEtMTAxNQlwIHAJNAk1MC4wMAkgCVBD DQoNCjIwMDYtSUNQQS0xMDExCXkgeQkxCTEwMC4wMAlBcHByb3ZlZCAxMjM0NTYJQ0MNCg0K DQo=3D=20 ]------abcdef1234-- ********************************* Any clues on why it's not sending as an email attachment? Thanks, -Jyoti -----Original Message----- From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On Behalf Of Donovan Brooke Sent: Friday, December 08, 2006 1:19 PM To: WebDNA Talk Subject: Re: Sendmail Excel Attachment Jyoti Behrani wrote: > Hi, >=20 > Can anyone please tell me how to send an attached Excel file using=20 > webdna sendmail context. >=20 > Thanks, > -Jyoti Jyoti, you can use any MIME headers that you want.. assuming you are using a fairly recent version of WebDNA. This stuff is in the=20 archives as well... The WebDNA docs for sendmail: http://webdna.smithmicro.com/ref/pages.html?context=3DEmailContext.html The archives: http://search.smithmicro.com/TalkListArchive/index.tpl?db=3Dwebdna-talk (punch in "sendmail attachment" & use the word and option) basic example: [text]line_ending=3D[unurl]%0D%0A%0A%0D[/UnURL][/TEXT]=1D [sendmail TO=3Dsome@some.com&FROM=3Dexisting@other.com[!] [/!]&SUBJECT=3Dattachment example[!] [/!]&Content-Type=3Dmultipart/mixed;[!] [/!] boundary=3D"------abcdef1234"&MIME-version=3D1.0][!] [/!]------abcdef1234[line_ending][!] [/!] some text [!] [/!]Content-Type: text/plain[line_ending][!] [/!]------abcdef1234[line_ending][!] [/!]Content-Type: text/plain;[!] [/!] name=3D"something.xls"[line_ending][!] [/!]Content-Transfer-Encoding: base64[line_ending][!] [/!]Content-Disposition: attachment;[line_ending][!] [/!]filename=3D"test1.xls"[line_ending][!] [/!][encrypt method=3Dbase64&file=3Dsomething.xls&EMAILFORMAT=3DT][!] [/!][/encrypt][line_ending]][!] [/!]------abcdef1234-- [/sendmail] --=20 = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do DONOVAN D. BROOKE EUCA Design Center <- Web Development (specializing in eCommerce),-> <- Desktop Publishing, Print Consulting, Labels -> <-Glass Products, off-hand Classes/studio rental-> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/ Web Sites:> http://www.euca.us & http://www.egg.bz = =3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3Do=3D= o=3Do=3Do=3Do=3Do=3Do=3Do ------------------------------------------------------------- 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/ "Jyoti Behrani"

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:

Where is f2? (1997) Online reference (1997) REDIRECT (2001) [WebDNA] Test - Getting double messages??? (2008) Where's Cart Created ? (1997) Searchable WebCat (etc.) Docs ? (1997) [isfile] ? (1997) a * question (2003) URL for Discussion Archive (1997) Chatroom (2000) Newbie questions (2000) [date format] w/in sendmail (1997) emailer (1997) Formvariable won't update (1999) YA 4.5.1 problem (2004) WebCat & cookies (1998) [WebDNA] How to stop cutting a word (2008) Convertchars in email (2001) File Upload (1997) Template Security error (1997)