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 you wouldn't mind commenting the code for me, IE Explain what the tags mean, and what they are for. Like [unurl] and[line_ending] Thanks for you help. =====MY CODE=====[sendmail to=[cusemail]&from=isp@montanasky.net&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=[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 Sullivan Mooseweb Corp joe@mooseweb.com (406) 889-3410 ----- Original Message ----- From: Scott Anderson To: WebCatalog Talk Sent: Monday, October 15, 2001 2:23 PM Subject: 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:

    
  1. Re: Sendmail - Attachment / My First Post (Joseph Sullivan 2001)
  2. Re: Sendmail - Attachment / My First Post (Joseph Sullivan 2001)
  3. Re: Sendmail - Attachment / My First Post (Scott Anderson 2001)
  4. Re: Sendmail - Attachment / My First Post (Joseph Sullivan 2001)
  5. Re: Sendmail - Attachment / My First Post (Joseph Sullivan 2001)
  6. Re: Sendmail - Attachment / My First Post (Scott Anderson 2001)
  7. Sendmail - Attachment / My First Post (Joseph Sullivan 2001)
  8. Sendmail - Attachment / My First Post (Joseph Sullivan 2001)
Mr. Anderson,This didn't work, but I am sure that I am doing something wrong, Maybe you wouldn't mind commenting the code for me, IE Explain what the tags mean, and what they are for. Like [unurl] and[line_ending] Thanks for you help. =====MY CODE=====[sendmail to=[cusemail]&from=isp@montanasky.net&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=[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 Sullivan Mooseweb Corp joe@mooseweb.com (406) 889-3410 ----- Original Message ----- From: Scott Anderson To: WebCatalog Talk Sent: Monday, October 15, 2001 2:23 PM Subject: 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:

no global [username] or [password] displayed ... (1997) Mixing and/or in searches (1998) WCS Newbie question (1997) Help with Repost Data msg from form (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Price problem (1997) Product display (2000) [shownext max=?] armed (1997) WebDNA server not running (2003) faxing orders (2000) [DOS]/DOS query perhaps OT (2003) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) ConvertChars (1998) frames & carts (1997) extending webcatalog (1997) RE:formula.db problems (1999) blank page from template (1997) Dummy Credit Card Number for debug? (1997) [OT] HTML Email in Lotus Notes (2005) WebCat2.0b15-to many nested [xx] tags (1997)