diff options
| author | Stanislav Malyshev <stas@php.net> | 2003-09-01 08:18:31 +0000 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2003-09-01 08:18:31 +0000 |
| commit | 5f003af4d4cb017f6bbebb703327de58b5c9cd0b (patch) | |
| tree | 727477642664460986da7db7c4f19dac6eb96432 | |
| parent | 6ce26891e87b2fcec4d0704d9bbf0707581337a5 (diff) | |
| download | php-git-5f003af4d4cb017f6bbebb703327de58b5c9cd0b.tar.gz | |
The sendmail_path executable check breaks setups that use parameters
for sendmail - including the default setup - so I'm disabling it for now.
| -rw-r--r-- | ext/standard/mail.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/mail.c b/ext/standard/mail.c index d47e14f23e..1d5805e930 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -197,10 +197,11 @@ PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char #else /* make sure that sendmail_path contains a valid executable, failure to do * would make PHP abruptly exit without a useful error message. */ - if (access(sendmail_path, X_OK)) { +/* if (access(sendmail_path, X_OK)) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Permission denied: unable to execute shell to run mail delivery binary '%s'", sendmail_path); return 0; } +*/ /* Since popen() doesn't indicate if the internal fork() doesn't work * (e.g. the shell can't be executed) we explicitely set it to 0 to be |
