note 94000 added to function.mail

From: Date: Sun, 11 Oct 2009 03:59:46 +0000
Subject: note 94000 added to function.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-161634@lists.php.net to get a copy of this message
An observation about safe_mode and mail() It looks like multiple \r\n's are replaced by a single \r\n inside the string passed to "additional_headers". I can only re-produce this on a box running with safe_mode enabled. If (for some reason) your script crafts the entire email message in the headers, this will most likely produce a blank email on safe_mode boxes (like this script I've been trying to get working). ---- Server IP: 117.55.229.1 Probable Submitter: 121.208.5.105 ---- Manual Page -- http://www.php.net/manual/en/function.mail.php Edit -- https://master.php.net/note/edit/94000 Del: integrated -- https://master.php.net/note/delete/94000/integrated Del: useless -- https://master.php.net/note/delete/94000/useless Del: bad code -- https://master.php.net/note/delete/94000/bad+code Del: spam -- https://master.php.net/note/delete/94000/spam Del: non-english -- https://master.php.net/note/delete/94000/non-english Del: in docs -- https://master.php.net/note/delete/94000/in+docs Del: other reasons-- https://master.php.net/note/delete/94000 Reject -- https://master.php.net/note/reject/94000 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161634) next »