RE: [PHP-DB] Breaking up new lines for e-mail
| From: | John W. Holmes | Date: | Wed, 08 Jan 2003 02:47:09 +0000 |
| Subject: | RE: [PHP-DB] Breaking up new lines for e-mail | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24638@lists.php.net to get a copy of this message | ||
> Would someone mind pointing me to a function, or some code, or give me
a
> seudo-code start for the following:
>
> I'm using the mail() function.
> If someone submits the form with text in the multi-line textarea, any
> carrige returns (ie, by pressing ENTER) are taken out & the body is
sent
> as a single line.
> I'm sending the e-mail in plain text.
Maybe try a different WRAP attribute for your textarea. Options are
VIRTUAL, PHYSICAL, and NONE/OFF (can't remember which). You probably
want PHYSICAL, which will insert newlines when the text wraps in the
box.
What are you using to view these emails?
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/