Re: Sendmail - Attachment / My First Post
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39406
interpreted = N
texte = Web Catalog 4 - Mac OS 9.1Joseph SullivanMooseweb Corpjoe@mooseweb.com(406) 889-3410> What version of WebCatalog are you running? And on what platform?>> The line_ending text variable is used to store the line breaks expectedfor> 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:
Web Catalog 4 - Mac OS 9.1Joseph SullivanMooseweb Corpjoe@mooseweb.com(406) 889-3410> What version of WebCatalog are you running? And on what platform?>> The line_ending text variable is used to store the line breaks expectedfor> 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:
quantity minimum problem (1997)
Searching (2004)
problems with 2 tags shakur (1997)
Loosing Quantity (2000)
Proper file locations (1997)
encryption in browser? (1998)
Upload Text File/ Append to DB (2003)
Emailer (2002)
Migrating to NT (1997)
WebCat2: multiple currency support (1997)
Setting up WebCatalog with Retail Pro data (1996)
Re: (1997)
looping table rows (1999)
transferring values (1998)
Protect vs Authenicate (1997)
JavaScript form question (2001)
WebDNA Solutions ... sorry! (1997)
[LOOKUP] (1997)
Rhapsody? (1997)
Country & Ship-to address & other fields ? (1997)