RE: [PHP] mail() and textarea

From: Date: Sat, 16 Dec 2000 01:27:24 +0000
Subject: RE: [PHP] mail() and textarea
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-30634@lists.php.net to get a copy of this message
Please post the script...if your textarea is called $foo are you doing any processing to $foo before it get's to the mail function? -sharpie! -----Original Message----- From: mailing_list@gmx.at [mailto:mailing_list@gmx.at] Sent: Friday, December 15, 2000 5:24 PM To: php-general@lists.php.net Subject: [PHP] mail() and textarea Hi! I'm submitting a textarea as post-data, and then mail the textarea-variable's content with the mail() function! But in the mail all "\n" look like "\n\n"!! If I save the mail to a file and view the file with vi, I see a "^M" at the end of all lines??? if I want to mail: -- Hi Michael! This is the message I'm sending to you! regards Robert -- I get: -- Hi Michael! This is the message I'm sending to you! regards Robert -- Can I handle this? thanks Michael -- Sent through GMX FreeMail - http://www.gmx.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#30634) next »