Req #44558 [Opn->Dup]: mail() function could return sendmail/SMTP error message

From: Date: Wed, 07 Jul 2021 10:49:54 +0000
Subject: Req #44558 [Opn->Dup]: mail() function could return sendmail/SMTP error message
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234859@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=44558&edit=1 ID: 44558 Updated by: cmb@php.net Reported by: uhlar at fantomas dot sk Summary: mail() function could return sendmail/SMTP error message -Status: Open +Status: Duplicate Type: Feature/Change Request Package: Mail related Operating System: all PHP Version: 5.2.6RC3 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Duplicate of feature request #21165. Previous Comments: ------------------------------------------------------------------------ [2008-03-28 14:02:37] uhlar at fantomas dot sk Description: ------------ the mail() function on UNIX systems calls sendmail (or whatever the admin configures) which can return string from SMTP server on stderr. It could be nice if mail() function could provide that string somehow, e.g. in $php_errormsg etc... ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=44558&edit=1

« previous php.bugs (#234859) next »