@tomhartlandOct 27.2004 — #Assuming you're talking about server-side programming, it depends on what technology you're using (ASP, ASP.NET, PHP, etc).
The normal way is to replace the carriage return with <br> tags.
(As a side note, you need to be careful about writing to screen the contents of a text edit - a malicious user could place any HTML/javascript/etc code on your page. Imagine somebody putting a redirect command on a message board.)
@trunkieauthorOct 27.2004 — #Sorry I should have been more explicit. I have a form submitted by cgi. The text wraps fine in the TextField but when I receive the email the formatting isn't kept. How can I maintain this formatting?
For example in an address box the user would enter 3 or 4 lines. When the form is submitted the address loses the formatting and is displayed on 1 line.
@tomhartlandOct 27.2004 — #Sorry I'm really having trouble working out exactly what you mean.
I'm either missing something, or I'm being really thick - trust me, option 2 is a high possibility ?
If you are receiving the form into your cgi (which ever technology it is), then you must be sending the e-mail yourself. Can't you just format the value that is provided from the textarea?