php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #44558 mail() function could return sendmail/SMTP error message
Submitted: 2008-03-28 14:02 UTC Modified: 2021-07-07 10:49 UTC
Votes:3
Avg. Score:4.0 ± 0.8
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: uhlar at fantomas dot sk Assigned: cmb (profile)
Status: Duplicate Package: Mail related
PHP Version: 5.2.6RC3 OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 - 7 = ?
Subscribe to this entry?

 
 [2008-03-28 14:02 UTC] 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...


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:34 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Mail related
 [2021-07-07 10:49 UTC] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-07-07 10:49 UTC] cmb@php.net
Duplicate of feature request #21165.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 14:01:31 2024 UTC