HTML Mail & Line breaks...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59188
interpreted = N
texte = Hi Everyone I have just created a module for generating our html mailshots but I am a little lost as to how to insert a line break when the text gets too long for the line in the text version of the mail. I am basically populating a db and then using writefile to create my mailshot document. I figured I could maybe insert line break every so many characters to accomodate something like the following:- ================================================ Established in New York City in 2003, Callous footwear is the most exciting and innovative footwear to hit these shores. If I was to do this using [countchars] or something then I may end up with and not maintain proper word structure (ie word wrapping):- ================================================ Established in New York City in 2003, Callous fo otwear is the most exciting and innovative footw ear to hit these shores. I'm not sure if I am barking up the wrong tree or not but I figured I would see if anyone had any feedback on what I am trying to acheive I hope someone can help. Regards Alan ------------------------------------------------------------- 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: HTML Mail & Line breaks... ( Alan White 2004)
  2. Re: HTML Mail & Line breaks... ( Donovan Brooke 2004)
  3. Re: HTML Mail & Line breaks... ( Gary Krockover 2004)
  4. Re: HTML Mail & Line breaks... ( Donovan Brooke 2004)
  5. Re: HTML Mail & Line breaks... ( Alan White 2004)
  6. Re: HTML Mail & Line breaks... ( Donovan Brooke 2004)
  7. HTML Mail & Line breaks... ( Alan White 2004)
Hi Everyone I have just created a module for generating our html mailshots but I am a little lost as to how to insert a line break when the text gets too long for the line in the text version of the mail. I am basically populating a db and then using writefile to create my mailshot document. I figured I could maybe insert line break every so many characters to accomodate something like the following:- ================================================ Established in New York City in 2003, Callous footwear is the most exciting and innovative footwear to hit these shores. If I was to do this using [countchars] or something then I may end up with and not maintain proper word structure (ie word wrapping):- ================================================ Established in New York City in 2003, Callous fo otwear is the most exciting and innovative footw ear to hit these shores. I'm not sure if I am barking up the wrong tree or not but I figured I would see if anyone had any feedback on what I am trying to acheive I hope someone can help. Regards Alan ------------------------------------------------------------- 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/ Alan White

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:

New Plug-in and Type 11 errors (1997) Date search - yes or no (1997) Creditcard verification with WebCat (1998) writefiles (1999) Frames and WebCat (1997) REDIRECT (2001) Need a Calendar System (2001) Privacy Issue (LEGIT QUESTION) (2003) Date search - yes or no (1997) still having shipCost.db Problem (1997) A little syntax help (1997) Automatic Download? (2003) OT-Load balance (2004) Hard Questions ? (1997) NY taxRates.db? (1997) .hdr files (2004) triggers (2000) Show shoppingcart after remove last item (1997) Global replace (2000) Signal Raised (1997)