#18723 [Opn->Fbk]: what does mail() function return?

From: Date: Sat, 03 Aug 2002 13:17:46 +0000
Subject: #18723 [Opn->Fbk]: what does mail() function return?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15912@lists.php.net to get a copy of this message
ID: 18723 Updated by: sander@php.net Reported By: asif@evoknow.com -Status: Open +Status: Feedback Bug Type: Mail related Operating System: windows2K PHP Version: 4.2.2 New Comment: It should return FALSE if the mailserver, for any reason, doesn't accept the message. If the mailserver accepts the message but bounces it, PHP can't do anything about it. Is this the case? (BTW: you probably want to try a non-STABLE snapshot from snaps.php.net, there were many changes to the mail handling stuff on Windows) Previous Comments: ------------------------------------------------------------------------ [2002-08-03 08:13:43] asif@evoknow.com The mail() function is supposed to return FALSE if it can't send the mail. But in reality it doesn't do so. It always returns TRUE. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18723&edit=1

« previous php.bugs (#15912) next »