|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
38 - 16 = ?
Subscribe to this entry?

 [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: Sun Sep 19 12:03:36 2021 UTC