note 23444 deleted from function.mail by victor

From: Date: Thu, 05 Sep 2002 18:34:07 +0000
Subject: note 23444 deleted from function.mail by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-36192@lists.php.net to get a copy of this message
Note that apparently there was a change sometime between 4.0.6 and 4.2.1 that no longer allows spaces in the optional parameter list. In 4.0.6 mail("foo@foo.foo", "subject", "content", "From: no-reply@foo.foo", "-N never"); worked fine, but in 4.2.1 it is simply ignored without an error message other than mail returning false. Changing it to mail("foo@foo.foo", "subject", "content", "From: no-reply@foo.foo", "-N never"); made it work again.

« previous php.notes (#36192) next »