PHP 4.0 Bug #8050 Updated: Sending malformed body (message string)

From: Date: Fri, 12 Jan 2001 18:46:03 +0000
Subject: PHP 4.0 Bug #8050 Updated: Sending malformed body (message string)
Groups: php.dev 
Request: Send a blank email to php-dev+get-43914@lists.php.net to get a copy of this message
ID: 8050 Updated by: cynic Reported By: webmaster@domainsbuy.com Old-Status: Open Status: Closed Bug Type: Mail related Assigned To: Comments: according to RFC... err, can't recall... you have to use CRLF (\r\n in PHP) to delimit lines in mail messages. if that doesn't help, please reopen this bug report. Previous Comments: --------------------------------------------------------------------------- [2000-11-30 09:11:39] webmaster@domainsbuy.com Should have mentioned I'm using the ISAPI .dll version of PHP as opposed to the .exe version, on an IIS4 web server. --------------------------------------------------------------------------- [2000-11-30 09:09:48] webmaster@domainsbuy.com When using the mail() function, anything put into the body becomes malformed. Example: mail("test@whatever.com","test","testingn1...n2...n3..."); ...results in the following email body... testingatever.com 1...@whatever.com 2...@whatever.com 3...@whatever.com The server it's sending to is an XMail server, but I don't think it's that. And frankly, I have no idea what's causing it...I get the same results on two different servers --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8050

« previous php.dev (#43914) next »