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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
25 + 45 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Mar 28 20:01:28 2024 UTC