Bug #73507 [Fbk->Nab]: Extra space added before additional headers when mail.add_x_header is enabled

From: Date: Thu, 24 Nov 2016 20:53:58 +0000
Subject: Bug #73507 [Fbk->Nab]: Extra space added before additional headers when mail.add_x_header is enabled
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205622@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73507&edit=1 ID: 73507 Updated by: yohgaki@php.net Reported by: mattcoz at yahoo dot com Summary: Extra space added before additional headers when mail.add_x_header is enabled -Status: Feedback +Status: Not a bug Type: Bug Package: *Mail Related Operating System: Windows PHP Version: 7.0.13 Block user comment: N Private report: N New Comment: Some MTA/UMA treat LF, CR as CR/LF, convert LF, CR to CR/LF, but others not. These things can happen. Previous Comments: ------------------------------------------------------------------------ [2016-11-24 17:15:12] mattcoz at yahoo dot com Ok, I tested this with a different SMTP server and the problem goes away. I'm not sure why this would have been working in PHP5 though. ------------------------------------------------------------------------ [2016-11-24 05:50:02] mattcoz at yahoo dot com What additional detail are you looking for? ------------------------------------------------------------------------ [2016-11-21 18:50:36] ab@php.net @mattcoz at yahoo dot com, please describe in detail the way you trigger the bug. Thanks. ------------------------------------------------------------------------ [2016-11-21 16:52:34] mattcoz at yahoo dot com Ok, so I tried this on another server with a fresh copy of PHP 7.0.13. I created a php.ini file with the only settings being my smtp server and mail.add_x_header = On. I then tested my script and got the same problem. ------------------------------------------------------------------------ [2016-11-21 11:24:32] ab@php.net I don't reproduce this as well, debugged also through the Windows only sendmail part. @mattcoz at yahoo dot com, there must be something in the configuration, or the data, so we can reproduce this as well. Thanks. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=73507 -- Edit this bug report at https://bugs.php.net/bug.php?id=73507&edit=1

« previous php.bugs (#205622) next »