Re: Sendmail - Attachment / My First Post
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39399
interpreted = N
texte = Mr. Anderson,This didn't work, but I am sure that I am doing something wrong, Maybe youwouldn't mind commenting the code for me, IE Explain what the tags mean, andwhat they are for. Like [unurl] and[line_ending] Thanks for you help.=====MY CODE=====[sendmail to=[cusemail]&from=isp@montanasky.net&subject=TestingBinary 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 a word document attachment:--[boundary][unurl][line_ending][/unurl][!][/!]Content-Type:application/msword;name=[word.doc][unurl][line_ending][/unurl][!][/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!][/!]Content-Disposition: attachment;filename=[word.doc][unurl][line_ending][line_ending][/unurl][!][/!][encrypt method=base64&file=[word.doc]&EMAILFORMAT=T][/encrypt]--[boundary]--[/sendmail]Joseph SullivanMooseweb Corpjoe@mooseweb.com(406) 889-3410----- Original Message -----From: Scott Anderson
To: WebCatalog Talk Sent: Monday, October 15, 2001 2:23 PMSubject: Re: Sendmail - Attachment / My First Post> Here is how I have done this. You may need to adjust the [line_ending]> value.>> ...> [text]boundary=Multipart_[date]_[time]_[cart][/text]>> [text]line_ending=%0D%0A[/text]> [!][text]line_ending=%0D[/text][/!]> [!][text]line_ending=%0A[/text][/!]>> [text]attach_filename=Test.doc[/text]>> [sendmail to=test@yourdomain.com&from=test@yourdomain.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 a word document attachment:>> --[boundary][unurl][line_ending][/unurl][!]> [/!]Content-Type:> application/msword;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]> ...>>>>>> > -----Original Message-----> > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> > Behalf Of Joseph Sullivan> > Sent: Monday, October 15, 2001 6:12 AM> > To: WebCatalog Talk> > Subject: Sendmail - Attachment / My First Post> >> >> > Greetings,> >> > This is the first of my soon to be many posts to this> > talk list. I hope> > to be as much of a help to others as I know you all will be to me. I> > thank-you in advance for your patience with me.> >> > Currently I am working on a project that I have been able> > to work on> > without asking any questions, and by just searching the> > archives. Now I> > have come to a river I can't cross. I need to attach a word> > doc to a email,> > that will be sent out to our customer. I have read numerous> > posting on this> > subject but to no avail. Could someone that has figured this> > out please> > advise me as to how to do it? I hope I am giving enough> > information about> > my question. To sum it up....> >> > I need to send a word doc file to my customer as an> > attachment using the> > [sendmail] context.> >> > All help is greatly appreciated....> >> >> > Joseph Sullivan> > Mooseweb Corp> > joe@mooseweb.com> > (406) 889-3410> >> >> > -------------------------------------------------------------> > 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://search.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://search.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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Mr. Anderson,This didn't work, but I am sure that I am doing something wrong, Maybe youwouldn't mind commenting the code for me, IE Explain what the tags mean, andwhat they are for. Like [unurl] and[line_ending] Thanks for you help.=====MY CODE=====[sendmail to=[cusemail]&from=isp@montanasky.net&subject=TestingBinary 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 a word document attachment:--[boundary][unurl][line_ending][/unurl][!][/!]Content-Type:application/msword;name=[word.doc][unurl][line_ending][/unurl][!][/!]Content-Transfer-Encoding: base64[unurl][line_ending][/unurl][!][/!]Content-Disposition: attachment;filename=[word.doc][unurl][line_ending][line_ending][/unurl][!][/!][encrypt method=base64&file=[word.doc]&EMAILFORMAT=T][/encrypt]--[boundary]--[/sendmail]Joseph SullivanMooseweb Corpjoe@mooseweb.com(406) 889-3410----- Original Message -----From: Scott Anderson To: WebCatalog Talk Sent: Monday, October 15, 2001 2:23 PMSubject: Re: Sendmail - Attachment / My First Post> Here is how I have done this. You may need to adjust the [line_ending]> value.>> ...> [text]boundary=Multipart_[date]_[time]_[cart][/text]>> [text]line_ending=%0D%0A[/text]> [!][text]line_ending=%0D[/text][/!]> [!][text]line_ending=%0A[/text][/!]>> [text]attach_filename=Test.doc[/text]>> [sendmail to=test@yourdomain.com&from=test@yourdomain.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 a word document attachment:>> --[boundary][unurl][line_ending][/unurl][!]> [/!]Content-Type:> application/msword;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]> ...>>>>>> > -----Original Message-----> > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On> > Behalf Of Joseph Sullivan> > Sent: Monday, October 15, 2001 6:12 AM> > To: WebCatalog Talk> > Subject: Sendmail - Attachment / My First Post> >> >> > Greetings,> >> > This is the first of my soon to be many posts to this> > Talk List. I hope> > to be as much of a help to others as I know you all will be to me. I> > thank-you in advance for your patience with me.> >> > Currently I am working on a project that I have been able> > to work on> > without asking any questions, and by just searching the> > archives. Now I> > have come to a river I can't cross. I need to attach a word> > doc to a email,> > that will be sent out to our customer. I have read numerous> > posting on this> > subject but to no avail. Could someone that has figured this> > out please> > advise me as to how to do it? I hope I am giving enough> > information about> > my question. To sum it up....> >> > I need to send a word doc file to my customer as an> > attachment using the> > [sendmail] context.> >> > All help is greatly appreciated....> >> >> > Joseph Sullivan> > Mooseweb Corp> > joe@mooseweb.com> > (406) 889-3410> >> >> > -------------------------------------------------------------> > 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://search.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://search.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://search.smithmicro.com/
Joseph Sullivan
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:
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
How do I make this faster???? (2000)
Ken's Data Manager (finally available I think ...) (2005)
Ok here is a question? (1997)
WebCat2 - many [carts] on one template page? (1997)
PCS Frames (1997)
Help name our technology! (1997)
Initiating NewCart (1997)
Date sorting (1997)
Locking up with WebCatalog... (1997)
Carrying over data? (1997)
when is failing to [URL]ize values in a comparison risky? (1999)
Condensing the CART numeric sequence (2002)
Some Questions (1997)
[WebDNA] Store module/site (2012)
Need help, multiple shipping options (2000)
Date search and sendmail (1997)
Multiple Search Fields (1998)
My slower response (1997)
Newbie Tax Question (1997)