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 =gettingfile as an attachment, it's included in the body of the email.This is what I get....*************************************------abcdef1234=20Testing of webdna downloadContent-Type: text/plain=20------abcdef1234=20Content-Type: text/plain; name=3D"test2.xls"=20Content-Transfer-Encoding: base64=20Content-Disposition: attachment;=20filename=3D"test2.xls"=20DQpSZWdpc3RyYXRpb24gSUQJQXR0ZW5kZWUgTmFtZQlUeXBlIG9mIE1lbWJlcnNoaXAJRmVlCUNDIFN0YXR1cwlNZXRob2QNCg0KDQoyMDA3LUlDUEEtMTAxNQlwIHAJNAk1MC4wMAkgCVBDDQoNCjIwMDYtSUNQQS0xMDExCXkgeQkxCTEwMC4wMAlBcHByb3ZlZCAxMjM0NTYJQ0MNCg0KDQo=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 OfDonovan BrookeSent: Friday, December 08, 2006 1:19 PMTo: WebDNA TalkSubject: Re: Sendmail Excel AttachmentJyoti Behrani wrote:> Hi,>=20> Can anyone please tell me how to send an attached Excel file using=20> webdna sendmail context.>=20> Thanks,> -JyotiJyoti, you can use any MIME headers that you want.. assuming youare using a fairly recent version of WebDNA. This stuff is in the=20archives as well...The WebDNA docs for sendmail:http://webdna.smithmicro.com/ref/pages.html?context=3DEmailContext.htmlThe 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 toWeb 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 Donovan. I tried the code that you just send. But instead of =gettingfile as an attachment, it's included in the body of the email.This is what I get....*************************************------abcdef1234=20Testing of webdna downloadContent-Type: text/plain=20------abcdef1234=20Content-Type: text/plain; name=3D"test2.xls"=20Content-Transfer-Encoding: base64=20Content-Disposition: attachment;=20filename=3D"test2.xls"=20DQpSZWdpc3RyYXRpb24gSUQJQXR0ZW5kZWUgTmFtZQlUeXBlIG9mIE1lbWJlcnNoaXAJRmVlCUNDIFN0YXR1cwlNZXRob2QNCg0KDQoyMDA3LUlDUEEtMTAxNQlwIHAJNAk1MC4wMAkgCVBDDQoNCjIwMDYtSUNQQS0xMDExCXkgeQkxCTEwMC4wMAlBcHByb3ZlZCAxMjM0NTYJQ0MNCg0KDQo=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 OfDonovan BrookeSent: Friday, December 08, 2006 1:19 PMTo: WebDNA TalkSubject: Re: Sendmail Excel AttachmentJyoti Behrani wrote:> Hi,>=20> Can anyone please tell me how to send an attached Excel file using=20> webdna sendmail context.>=20> Thanks,> -JyotiJyoti, you can use any MIME headers that you want.. assuming youare using a fairly recent version of WebDNA. This stuff is in the=20archives as well...The WebDNA docs for sendmail:http://webdna.smithmicro.com/ref/pages.html?context=3DEmailContext.htmlThe 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 toWeb 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)