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:

MacAuthorize hub, no modal password dialog? (1997) Instructions for Digest (1997) Google listings. (2006) Using tags to create a file name (2000) HELP! 10K hits per hour for pages that no longer exist! (2000) RE: Re:Has this happened to you? (1997) ShowNext for method=POST (1997) notification solutions (1997) Tracking (2004) [WebDNA] Win 10 FastCGI not running (2019) WebDNA module - Automated database archiving (1997) Help name our technology! I found it (1997) &summ=T >> numfound (2002) The Guru Speaks (1998) Showing once on a founditems (1997) Text data with spaces in them... (1997) Document Contains no data, or showcart error. (1997) upgrading (1997) What am I missing (1997) New Beta Documentation (1997)