php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #38379 mail() returns false when using 5th parameter in safe mode (even when empty)
Submitted: 2006-08-08 10:37 UTC Modified: 2013-03-02 18:38 UTC
From: marekm at apnet dot pl Assigned: reeze (profile)
Status: Closed Package: Mail related
PHP Version: 4.4.3 OS: All
Private report: No CVE-ID: None
 [2006-08-08 10:37 UTC] marekm at apnet dot pl
Description:
------------
I think, mail() function with 5 parameters should work in safe mode when "additional_parameters" is an empty string.


Reproduce code:
---------------
mail("somebody@somewhere.com","subject","body","","");

Expected result:
----------------
The functions should work in safe mode.

Actual result:
--------------
The function returns false in safe mode.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:25 UTC] jani@php.net
-Package: Feature/Change Request +Package: Mail related
 [2013-03-02 18:38 UTC] reeze@php.net
Safe mode was gone.
 [2013-03-02 18:38 UTC] reeze@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: reeze
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC