Re: Sendmail html/text problem

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 53704
interpreted = N
texte = Hi Edwin, Try this one: [sendmail to=[to]&from=[from]&subject=[subject]&Content-Type=multipart/mixed; boundary="[boundary]"&MIME-version=1.0] --[boundary] Content-Type: text/html; charset="iso-8859-1"[CRLF] [include file=file.txt] --[boundary]-- [/sendmail] The [CRLF] is the windows line-ending: [Text show=F]CRLF=[UnURL]%0D%0A[/UnURL][/Text] I think that this solves the problem. Best regards, Harmen van Es Jambolaya Eisenhowerlaan 37 3844 AS Harderwijk The Netherlands Tel: +31 (0)341 429629 Fax: +31 (0)341 429029 E-mail: helpdesk@jambolaya.com Internet: www.jambolaya.com > -----Oorspronkelijk bericht----- > Van: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] Namens Edwin > Hoevers > Verzonden: woensdag 29 oktober 2003 19:26 > Aan: WebDNA Talk > Onderwerp: Sendmail html/text problem > > Hello, > > If got the following problem with WebDNA 5.1: > [Sendmail > to=[contactemail]&from=email@domain.com&subject=[subject]&MIME- > Version=1.0&C > ontent-Type=multipart/alternative; boundary=[boundary]] > --[boundary] > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 7bit > [include file.txt] > --[boundary] > Content-Type: text/html; charset=iso-8859-1 > Content-Transfer-Encoding: 7bit > [include file.html] > --[boundary]-- > [/sendmail] > > The e-mail that i get back is a plain text e-mail without html > and starts with: > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 7bit > > and than the file.txt > > Is there a problem writing to the EmailFolder? or something else.. > Greetings, > Edwin Hoevers > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Sendmail html/text problem ( Stuart Tremain 2003)
  2. Re: Sendmail html/text problem ( "Edwin Hoevers" 2003)
  3. Re: Sendmail html/text problem ( "Helpdesk - Jambolaya" 2003)
  4. Sendmail html/text problem ( "Edwin Hoevers" 2003)
Hi Edwin, Try this one: [sendmail to=[to]&from=[from]&subject=[subject]&Content-Type=multipart/mixed; boundary="[boundary]"&MIME-version=1.0] --[boundary] Content-Type: text/html; charset="iso-8859-1"[CRLF] [include file=file.txt] --[boundary]-- [/sendmail] The [CRLF] is the windows line-ending: [Text show=F]CRLF=[unurl]%0D%0A[/UnURL][/Text] I think that this solves the problem. Best regards, Harmen van Es Jambolaya Eisenhowerlaan 37 3844 AS Harderwijk The Netherlands Tel: +31 (0)341 429629 Fax: +31 (0)341 429029 E-mail: helpdesk@jambolaya.com Internet: www.jambolaya.com > -----Oorspronkelijk bericht----- > Van: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] Namens Edwin > Hoevers > Verzonden: woensdag 29 oktober 2003 19:26 > Aan: WebDNA Talk > Onderwerp: Sendmail html/text problem > > Hello, > > If got the following problem with WebDNA 5.1: > [Sendmail > to=[contactemail]&from=email@domain.com&subject=[subject]&MIME- > Version=1.0&C > ontent-Type=multipart/alternative; boundary=[boundary]] > --[boundary] > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 7bit > [include file.txt] > --[boundary] > Content-Type: text/html; charset=iso-8859-1 > Content-Transfer-Encoding: 7bit > [include file.html] > --[boundary]-- > [/sendmail] > > The e-mail that i get back is a plain text e-mail without html > and starts with: > Content-Type: text/plain; charset=iso-8859-1 > Content-Transfer-Encoding: 7bit > > and than the file.txt > > Is there a problem writing to the EmailFolder? or something else.. > Greetings, > Edwin Hoevers > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.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://webdna.smithmicro.com/ "Helpdesk - Jambolaya"

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:

Calendar Program (2004) WebCat2b15MacPlugin - showing [math] (1997) [OT] Ecommerce Insurance (2000) UPS Shipping Calc - 2 items (2000) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) [WebDNA] Friday's.. WIP thread (2009) [FoundItems] solved - thanks (1997) [OT] Form POSTing with LONG variable (2007) need help with textA field (1998) W* 4.2 / WebCat (TPro) 3.0.5b / OS 8.5.1 / BW G3 (2000) Serial Number Question (1997) Not really WebCat- (1997) WebCat2: Master Counter snippet (1997) retrieve header field (2001) Base64 encryption limitations? (1999) LOG IN LOG OUT (1997) Different Tax levels (1998) WebCommerce: Folder organization ? (1997) Trigger action Quandry (2002) can WC render sites out? (1997)