Always enable mail() function
| From: | Johannes Schlüter | Date: | Tue, 10 Jul 2007 21:25:06 +0000 |
| Subject: | Always enable mail() function | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-30750@lists.php.net to get a copy of this message | ||
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.
Attachment: [text/x-patch] php_mail_always_available.diff
Attachment: [text/x-patch] php_mail_always_available.diff