PHP 4.0 Bug #7629 Updated: Mail() fails when the email message has a "\n"

From: Date: Tue, 09 Jan 2001 12:59:22 +0000
Subject: PHP 4.0 Bug #7629 Updated: Mail() fails when the email message has a "\n"
Groups: php.dev 
Request: Send a blank email to php-dev+get-43547@lists.php.net to get a copy of this message
ID: 7629 Updated by: hholzgra Reported By: smiglio@newtek.com Old-Status: Analyzed Status: Assigned Old-Bug Type: Mail related Bug Type: Feature/Change Request Assigned To: hholzgra Comments: SMTP defines line ending as CR LF (\r\n) also some SMTP servers will also accept LF (\n) the SMTP code for mail() on windows should take care of this ... moved to feature requests Previous Comments: --------------------------------------------------------------------------- [2001-01-09 07:46:48] cynic@php.net you have to use rn in messages mail()ed from win32 systems. I don't know whether this can be considered as the correct behavior. --------------------------------------------------------------------------- [2000-11-03 17:16:12] smiglio@newtek.com Works under Linux but not under W2000 Server. Function : Mail() When i put a n in the email message, the mail() function fails. if i send the same email without any n it's working. I only have this problem under Windows 2000 server (i never try under W98 or another microsoft OS) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7629

« previous php.dev (#43547) next »