Re: Always enable mail() function
| From: | Jani Taskinen | Date: | Wed, 11 Jul 2007 07:00:48 +0000 |
| Subject: | Re: Always enable mail() function | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30765@lists.php.net to get a copy of this message | ||
On Wed, 2007-07-11 at 00:08 +0200, Johannes Schlüter wrote:
> On Wed, 2007-07-11 at 00:49 +0300, Jani Taskinen wrote:
> > So what happens when sendmail really does not exist?
>
> The same as if you configure sendmail_path wrong or move you binary to a
> host where it is missing: mail() returns false.
I forgot there was such ini option. :D
But doesn't it give any error for such case? I think it should in case
sendmail_path is empty or pointing to something that doesn't exist..?
Just commit the patch. I'll remove the configure stuff for you. :)
--Jani