[doc-en] master: mail: document sendmail error reporting (8.5) (#5885)
| From: | Louis-Arnaud via GitHub | Date: | Mon, 28 Sep 2026 19:11:20 +0000 |
| Subject: | [doc-en] master: mail: document sendmail error reporting (8.5) (#5885) | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-23788@lists.php.net to get a copy of this message | ||
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: lacatoire
Date: 2026-09-28T21:11:17+02:00
Commit: https://github.com/php/doc-en/commit/6e49505a1a8974ebcf31ba9bb29741bdc74a59ef
Raw diff: https://github.com/php/doc-en/commit/6e49505a1a8974ebcf31ba9bb29741bdc74a59ef.diff
mail: document sendmail error reporting (8.5) (#5885)
Changed paths:
M reference/mail/functions/mail.xml
Diff:
diff --git a/reference/mail/functions/mail.xml b/reference/mail/functions/mail.xml
index 9eb82f7eea30..b5bde1f0da0c 100644
--- a/reference/mail/functions/mail.xml
+++ b/reference/mail/functions/mail.xml
@@ -185,6 +185,16 @@ $text = str_replace("\n.", "\n..", $text);
</row>
</thead>
<tbody>
+ <row>
+ <entry>8.5.0</entry>
+ <entry>
+ When using the sendmail transport, the actual sendmail error is now
+ reported, and unexpected termination of the sendmail process is
+ detected. In such cases, an <constant>E_WARNING</constant> is emitted
+ and &false; is returned.
+ Previously, these errors were silently ignored.
+ </entry>
+ </row>
<row>
<entry>7.2.0</entry>
<entry>