Re: Always enable mail() function
| From: | Jani Taskinen | Date: | Tue, 10 Jul 2007 21:49:24 +0000 |
| Subject: | Re: Always enable mail() function | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30751@lists.php.net to get a copy of this message | ||
So what happens when sendmail really does not exist?
--Jani
Johannes Schlüter kirjoitti:
Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I can image a few situations where the binary is in a non-standard location or PHP is compiled on a different host than used. I'd like to commit the attached patch which should always enable mail(), any objections? johannes P.S. If it doesn't come through: The patch is available on http://schlueters.de/~johannes/php/php_mail_always_available.diff too.