>"wordwrap(stripslashes($message), 72)".

Thanks! Another reason why I gave up on Perl :) A fucntion made already since 4.0.2.! :)
Matthew Weier O'Phinney wrote:

Folks are complaining mail arrives and text will not wrap. $message
comes directly from a textarea. Old mail readers, I guess?


Yep. Investigate http://php.net/wordwrap:

mail("[EMAIL PROTECTED]", stripslashes($subject), stripslashes($message),
"Return-Path: <[EMAIL PROTECTED]>\r\nFrom: \"[foo] foo\" <[EMAIL 
PROTECTED]>\r\nbcc:
$bcc \r\nReply-To: [EMAIL PROTECTED] \r\n"."X-Mailer: PHP/" . phpversion());


Make "stripslashes($message)" into
"wordwrap(stripslashes($message), 72)".


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to