|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17583 mail() appends newline to body
Submitted: 2002-06-03 15:09 UTC Modified: 2002-06-03 15:45 UTC
From: n-roeser at gmx dot net Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.1.2 OS: Unix/Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: n-roeser at gmx dot net
New email:
PHP Version: OS:


 [2002-06-03 15:09 UTC] n-roeser at gmx dot net
When sending an email with the mail() function, PHP seems to append a newline to the mail body. I don't think this is correct.

mail("user@domain.example", "Subject", "Hello! Testing...");



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-03 15:20 UTC]
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit

Thank you for your interest in PHP.

mail() does not add a newline.
 [2002-06-03 15:26 UTC] n-roeser at gmx dot net
Issue solved:
It's a bug in Microsoft Outlook, not in PHP.
 [2011-06-03 16:19 UTC] xushi dot xushi at gmail dot com
I disagree.. Sending that email to my BlackBerry gives me the same problem. It has nothing to do with outlook. Same with gmail...
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jun 14 10:01:35 2024 UTC