|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: marekm at apnet dot pl
New email:
PHP Version: OS:


 [2006-08-08 10:37 UTC] marekm at apnet dot pl
I think, mail() function with 5 parameters should work in safe mode when "additional_parameters" is an empty string.

Reproduce code:

Expected result:
The functions should work in safe mode.

Actual result:
The function returns false in safe mode.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-21 21:25 UTC]
-Package: Feature/Change Request +Package: Mail related
 [2013-03-02 18:38 UTC]
Safe mode was gone.
 [2013-03-02 18:38 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: reeze
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 27 17:03:33 2022 UTC