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:

A little help on e-mail (HELP!!! :-) ) (1998) Searching (2005) Maybe minor bug report (1997) Need help with text area (1998) [HIDEIF] inside [FOUNDITEM] (1997) Include Files (1998) File dates in WebCatalog .tmpl/.inc (1997) Hiding HTML and breaking the page (1997) Credit card processing - UK (1997) Windows XP + Apache 2.0 + WebDNA (2002) url value (2002) [referrer] tag (1997) (1997) WebCommerce: Folder organization ? (1997) RE: ANother SHOWIF problem (1997) Where has WebDNA shown up in your life? (2003) Tags on root directory files? (1998) WebCat2b13MacPlugIn - More limits on [include] (1997) Separate SSL Server (1997) RE:math context ignores date prefs? (1998)