|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patchesphp_bug51604.diff (last revision 2010-04-21 14:00 UTC by degeberg@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-04-19 20:50 UTC] pavol at klacansky dot com
[2010-04-21 16:00 UTC] degeberg@php.net
[2010-04-21 16:01 UTC] degeberg@php.net
[2010-04-22 04:05 UTC] aharvey@php.net
-Status: Open
+Status: Assigned
-Assigned To:
+Assigned To: aharvey
[2010-04-22 04:22 UTC] aharvey@php.net
[2010-04-22 04:23 UTC] aharvey@php.net
-Status: Assigned
+Status: Closed
[2010-04-22 04:23 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
Description: ------------ if I have a newline (\n) at the end of last header, it will show to start of message of mail Test script: --------------- <?php $email = 'ufo@ufo.net'; $headers = 'From: ' . $email . "\n"; $headers .= 'Cc: ' . $email . "\n"; $headers .= 'X-Mailer: PHP/' . phpversion() . "\n"; $headers .= 'Content-Type: text/plain; charset=utf-8' . "\n"; $headers .= 'Content-Transfer-Encoding: 8bit' . "\n"; mail('test@test.tt', 'test', 'Hallo', $headers); ?> Expected result: ---------------- Hallo Actual result: -------------- Hallo