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.
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 suspect there is no real reason, I have always wondered why is like that.
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.
you use sendmail_path in that case ;)
http://schlueters.de/~johannes/php/php_mail_always_available.diff too.
+1
No objections from me.
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.
--
Wbr,
Antony Dovgal