Re: Sendmail - Attachment / My First Post

This WebDNA talk-list message is from

2001


It keeps the original formatting.
numero = 39434
interpreted = N
texte = Mr. Anderson,We are running Web Catalog 4 - Mac OS 9.1I tried it agian, tweaking the code alittle. This time it will show up with an attachment but the attachment isn't really there. It is at the bottom of the e-mail. What am I doing wrong??? Thanks=====MY CODE===== [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=word.doc[/text][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=[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][/un url] [!][/!] [encrypt method=base64&file=[attach_filename]&EMAILFORMAT=T][/encrypt]--[boundary]-- [/sendmail]======The E-Mail I Get=====Content-Type: text/plainContent-Transfer-Encoding: 7bitThis email contains a word document attachment: ---------------------------------------------------------------------------- ---- Content-Type:application/msword;name=word.docContent-Transfer-Encoding: base64Content-Disposition: attachment;filename=word.docDQo8IS0tSEFTX1dFQkROQV9UQUdTLS0+DQoNCjxodG1sPg0KPGhlYWQ+DQoJPHRpdGxlPlJlc3V tZSBhbmQgUmVjcnVpdGluZyBTZXJ2aWNlcyBmb3IgdGhlIEhvc3BpdGFsaXR5IEluZHVzdHJ5PC 90aXRsZT4NCg0KCQ0KCTxtZXRhIG5hbWU9IlBlY2stV2F5bGV0dCBHcm91cCwgcmVjcnVpdGluZ yBhZ2VuY3ksIGhvc3B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Q+PGI+PGZvbnQgc2l6ZT0iKzIiPkVkdWNhdGlvbjxicj4NCi AgICAgICAgICAgIDwvZm9udD48L2I+PC90ZD4NCiAgPC90cj4NCjwvdGFibGU+DQogICAgICA8d GFibGUgd2lkdGg9IjEwMCUiIGJvcmRlcj0iMCIgY2VsbHNwYWNpbmc9IjIiIGNlbGxwYWRkaW5n PSIyIj4NCiAgICAgICAgPHRyPiANCiAgICAgICAgICA8dGQgd2lkdGg9IjIzJSIgYWxpZ249Imx lZnQiIHZhbGlnbj0ibWlkZGxlIj48Zm9udCBzaXplPSIrMSI+RGVjZW1iZXIgMTk5NzwvZm9udD 48L3RkPiAgICAgIA0KICAgICAgICAgIDx0ZCB3aWR0aD0iNTQlIiBhbGlnbj0iY2VudGVyIiB2Y WxpZ249Im1pZGRsZSI+PGZvbnQgc2l6ZT0iKzEiPjxpPk5ldyBNZXhpY28gU3RhdGUgVW5pdmVy c2l0eTwvaT48L2ZvbnQ+PC90ZD4gICAgICANCiAgICAgICAgICA8dGQgd2lkdGg9IjIzJSIgYWx pZ249InJpZ2h0IiB2YWxpZ249Im1pZGRsZSI+PGZvbnQgc2l6ZT0iKzEiPkxhcyBDcnVjZXMsIE 5NPC9mb250PjwvdGQ+DQogIDwvdHI+DQo8L3RhYmxlPg0KPHRhYmxlIHdpZHRoPSIxMDAlIiBib 3JkZXI9IjAiIGNlbGxzcGFjaW5nPSIyIiBjZWxscGFkZGluZz0iMiI+DQogIDx0cj4NCiAgICAg ICAgICA8dGQ+PGZvbnQgc2l6ZT0iKzEiPjxiPkJTIEJ1c2luZXNzIEFkbWluaXN0cmF0aW9uPC9 iPiA8L2ZvbnQ+PC90ZD4NCiAgPC90cj4NCjwvdGFibGU+DQoNCg0KDQogICAgPC90ZD4NCiAgPC 90cj4NCjwvdGFibGU+DQoNCiAgPC9ib2R5Pg0KPC9odG1sPg0KJoseph Sullivan Mooseweb Corp joe@mooseweb.com (406) 889-3410----- Original Message ----- From: Scott Anderson To: WebCatalog Talk Sent: Tuesday, October 16, 2001 3:32 PM Subject: Re: Sendmail - Attachment / My First Post > What version of WebCatalog are you running? And on what platform? > > The line_ending text variable is used to store the line breaks expected for > the platform WebCatalog is running on. The WebCatalog mail thread that > monitors the EmailFolder expects the correct line breaks. I used the > line_ending variable to simplify porting the code to other platforms. > > Line Breaks: > Platform character (URL/hex code) > MAC CR %0D > Windows CRLF %0D%0A > UNIX LF %0A > > CR = Carriage Return > LF = LineFeed > > Just un-comment the line_ending initialization line that matches your > platform. > > Also, be sure you have not included extra line breaks as a result of my > example text being 'wrapped' in you email client. > > For example: > > [sendmail to=[cusemail]&from=isp@montanasky.net&subject=TestingBinary > Attachment&MIME-version=1.0&Content-Type=multipart/mixed;boundary=[boundary > ]][!] > > should be on one line in you template. > > The [unurl] tags convert the URL-Hex code back to the actual or > character. > > > -----Original Message----- > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > Behalf Of Joseph Sullivan > > Sent: Tuesday, October 16, 2001 12:02 PM > > To: WebCatalog Talk > > Subject: Re: Sendmail - Attachment / My First Post > > > > > > 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/ > > ------------------------------------------------------------- > 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,We are running Web Catalog 4 - Mac OS 9.1I tried it agian, tweaking the code alittle. This time it will show up with an attachment but the attachment isn't really there. It is at the bottom of the e-mail. What am I doing wrong??? Thanks=====MY CODE===== [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=word.doc[/text][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=[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][/un url] [!][/!] [encrypt method=base64&file=[attach_filename]&EMAILFORMAT=T][/encrypt]--[boundary]-- [/sendmail]======The E-Mail I Get=====Content-Type: text/plainContent-Transfer-Encoding: 7bitThis email contains a word document attachment: ---------------------------------------------------------------------------- ---- Content-Type:application/msword;name=word.docContent-Transfer-Encoding: base64Content-Disposition: attachment;filename=word.docDQo8IS0tSEFTX1dFQkROQV9UQUdTLS0+DQoNCjxodG1sPg0KPGhlYWQ+DQoJPHRpdGxlPlJlc3V tZSBhbmQgUmVj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cj4NCjwvdGFibGU+DQoNCg0KDQogICAgPC90ZD4NCiAgPC 90cj4NCjwvdGFibGU+DQoNCiAgPC9ib2R5Pg0KPC9odG1sPg0KJoseph Sullivan Mooseweb Corp joe@mooseweb.com (406) 889-3410----- Original Message ----- From: Scott Anderson To: WebCatalog Talk Sent: Tuesday, October 16, 2001 3:32 PM Subject: Re: Sendmail - Attachment / My First Post > What version of WebCatalog are you running? And on what platform? > > The line_ending text variable is used to store the line breaks expected for > the platform WebCatalog is running on. The WebCatalog mail thread that > monitors the EmailFolder expects the correct line breaks. I used the > line_ending variable to simplify porting the code to other platforms. > > Line Breaks: > Platform character (URL/hex code) > MAC CR %0D > Windows CRLF %0D%0A > UNIX LF %0A > > CR = Carriage Return > LF = LineFeed > > Just un-comment the line_ending initialization line that matches your > platform. > > Also, be sure you have not included extra line breaks as a result of my > example text being 'wrapped' in you email client. > > For example: > > [sendmail to=[cusemail]&from=isp@montanasky.net&subject=TestingBinary > Attachment&MIME-version=1.0&Content-Type=multipart/mixed;boundary=[boundary > ]][!] > > should be on one line in you template. > > The [unurl] tags convert the URL-Hex code back to the actual or > character. > > > -----Original Message----- > > From: WebCatalog Talk [mailto:WebDNA-Talk@talk.smithmicro.com]On > > Behalf Of Joseph Sullivan > > Sent: Tuesday, October 16, 2001 12:02 PM > > To: WebCatalog Talk > > Subject: Re: Sendmail - Attachment / My First Post > > > > > > 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/ > > ------------------------------------------------------------- > 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:

search results (1998) ShowNext (1997) Protect vs Authenicate (1997) NT License trade for Mac (2000) Search design (1997) [WebDNA] WebDNA Health Monitor (2014) [if] (2003) [WebDNA] Custom error pages on Apache? (2011) generator prob (2001) Multi-processor Mac info ... (1997) writefile and deletefile (1998) UnitShipCost, Formulas.db and passwords (2003) Database Updates (1997) Help with getting rpm file (2002) Emailer problem....still (1997) [WebDNA] read database from other domain (2015) Sort Order on a page search (1997) Plugin or CGI or both (1997) WC2.0 Memory Requirements (1997) Date format problems (1997)