--TEST-- Bug #66535: Extra newline if add_x_header and no additional headers are used --INI-- sendmail_path=tee mailBug66535.out >/dev/null mail.add_x_header = On --SKIPIF-- --FILE-- ===DONE=== --EXPECTF-- *** Testing mail() : send email without additional headers *** bool(true) To: user@company.com Subject: Test Subject X-PHP-Originating-Script: %d:bug66535.php A Message ===DONE===