|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-11-29 10:03 UTC] dpkshrma01 at gmail dot com
[2014-12-01 20:27 UTC] aharvey@php.net
-Status: Open
+Status: Not a bug
[2014-12-01 20:27 UTC] aharvey@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 17:00:01 2025 UTC |
Description: ------------ mail() function returns boolean false but the email was recieved on the other end. Test script: --------------- <?php error_reporting(E_ALL); ini_set('display_errors', 1); $to = 'mail@email.com'; // sample email var_dump(mail( $to, 'checking mail return value', "It is just a test mail.")); // output : boolean false // but mail is recieved at mail@email.com Expected result: ---------------- boolean true Actual result: -------------- boolean false