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:

[WebDNA] Advices for Linux Config (2017) Logout? (1998) Reverse dating (1999) WebCatalog NT beta 18 now available (1997) WCS Newbie question (1997) searches with dash, period etc. (2000) [WebDNA] last month's last day expressed as days since 00/00/0000 would be what? (in code) (2008) [BULK] [WebDNA] Happy St. Patricks Day WEBDNA (2018) insert graphic in email (2000) apostrophe in search item (1997) Trouble with formula.db (1997) Searching an Email database (1997) Math Enhancement Request (2004) Languages (1997) WebCatalog vs. Cold Fusion (1998) multiple databases (1997) Using Cookie for client specific info? (1997) problems with 2 tags (1997) Customer - again (1998) WebCatalog for Postcards ? (1997)