|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8050 Sending malformed body (message string)
Submitted: 2000-11-30 09:09 UTC Modified: 2001-01-12 13:46 UTC
From: webmaster at domainsbuy dot com Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.3pl1 OS: Windows NT4 + SP6a
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: webmaster at domainsbuy dot com
New email:
PHP Version: OS:


 [2000-11-30 09:09 UTC] webmaster at domainsbuy dot com
When using the mail() function, anything put into the body becomes malformed. Example:


...results in the following email body...

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-30 09:11 UTC] webmaster at domainsbuy dot com
Should have mentioned I'm using the ISAPI .dll version of PHP as opposed to the .exe version, on an IIS4 web server.
 [2001-01-12 13:46 UTC]
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.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Sep 28 14:03:36 2021 UTC