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:

So what ya working on? (or have you completed?) (2004) Setting up shop (1997) Re:2nd WebCatalog2 Feature Request (1996) Quickie question on the email templates (1997) Help! WebCat2 bug (1997) Problems with [Applescript] (1997) Bannerad Demo (1998) Re:HTTP header line is too long? (1997) NT 4.0/IIS WebCat Installation (1998) Need help... (1997) How to include weather (2000) Hide Ifs (2000) searchable list archive (1997) Which GUI HTML editors work with WC ? (1997) Q: writefile and uploads. (1998) [WebDNA] Encrypted templates (2009) Running _every_ page through WebCat ? (1997) WebSTAR 2.1 freezes my Mac (1997) One more try (1997) carriage returns in data (1997)