MAIL doesn't work anymore
| From: | Monty | Date: | Mon, 05 Jan 2004 19:28:53 +0000 |
| Subject: | MAIL doesn't work anymore | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-173773@lists.php.net to get a copy of this message | ||
Shouldn't this work in PHP 4.3.2? ...
mail('me@server.com', 'Subject', 'Body of email');
This very simple use of the mail command produces an error by Sendmail:
"dsn=5.6.0, stat=Data format error," which must mean there is a bug in this
function. Does anyone know why this won't work anymore and if there is a
fix?? I've been trying for two days to get this fixed, but, no luck at all.
My setup: RedHat Linux ES 3.0, Apache 2.0.46, PHP 4.3.2, MySQL 3.23.58, and
Sendmail 8.12.10.