* John Taylor-Johnston <John.Taylor-Johnston@xxxxxxxxxxxxxxxxxxxxx>: > Folks are complaining mail arrives and text will not wrap. $message > comes directly from a textarea. Old mail readers, I guess? Not necessarily old. Many of us use text-based mail readers, where tradition and usability dictate line lengths of 72-80 characters. Also, many mail user agents render text/plain without wrapping lines (or make line wrapping optional). > How can I make their life better and make the text wrap? Yep. Investigate http://php.net/wordwrap: > mail("info@xxxxxx", stripslashes($subject), stripslashes($message), > "Return-Path: <info@xxxxxx>\r\nFrom: \"[foo] foo\" <info@xxxxxx>\r\nbcc: > $bcc \r\nReply-To: info@xxxxxx \r\n"."X-Mailer: PHP/" . phpversion()); Make "stripslashes($message)" into "wordwrap(stripslashes($message), 72)". -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php