php.net |  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
 [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.

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


 -Nico

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-03 15:20 UTC] mfischer@php.net
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 http://www.php.net/support.php

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: Thu Apr 18 11:01:28 2024 UTC