php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9489 The mail() function doesn't return the success or error
Submitted: 2001-02-27 18:03 UTC Modified: 2001-08-31 09:47 UTC
From: Support at Star-Tools dot com Assigned:
Status: Closed Package: Mail related
PHP Version: 4.0.4pl1 OS: solaris and freebsd
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: Support at Star-Tools dot com
New email:
PHP Version: OS:

 

 [2001-02-27 18:03 UTC] Support at Star-Tools dot com
The mail() function give no return value since 4.0.3.

In earlier version I've got a return value if the mail has been sent or not.

I've tried to set the sendmail_path in the php.ini without success.


Nils Hoyer

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-03 09:56 UTC] sniper@php.net
The mail() function returns either TRUE if mail was sent
and FALSE if not. Or what return value did you mean?
Does it always return FALSE?

--Jani

p.s. Tested with latest CVS and it works just fine.


 [2001-04-13 12:55 UTC] Support at Star-Tools dot com
I get always return FALSE since version 4.0.3.

(Up to version 4.0.2 I got True if the mail was sent.)

Nils

PS
Tested on 2001-02-27 with the latest CVS and it's don't works fine.
 [2001-08-31 09:47 UTC] sander@php.net
Works fine with PHP-4.0.6
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC