Re: MAIL doesn't work anymore

From: Date: Mon, 05 Jan 2004 19:53:30 +0000
Subject: Re: MAIL doesn't work anymore
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-173775@lists.php.net to get a copy of this message
Monty wrote:
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. Monty - have you tried using the mail command from the command line directly? If you look in your php.ini file, it should say what flags are being used with the mail command, it might be a possicility that the php.ini file is setup wrong in some way.
-- Rolf Brusletto rolf[at]emailfeeds[dot]com http://www.emailfeeds.com

« previous php.general (#173775) next »