diff options
| author | Johannes Schlüter <johannes@php.net> | 2007-07-11 17:36:56 +0000 |
|---|---|---|
| committer | Johannes Schlüter <johannes@php.net> | 2007-07-11 17:36:56 +0000 |
| commit | dc8d09bbbde45cfcc15907976c8bb5dd12fed64a (patch) | |
| tree | 8e70c176ed1cca66281927f36ba180658398e847 /ext/mbstring | |
| parent | 90b9d6241e4a360288ed00fae0eeab0aee1cb7ca (diff) | |
| download | php-git-dc8d09bbbde45cfcc15907976c8bb5dd12fed64a.tar.gz | |
- MFH: Always enable mail() function
Diffstat (limited to 'ext/mbstring')
| -rw-r--r-- | ext/mbstring/mbstring.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 76f2cffccd..be3acfdd85 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -3297,7 +3297,6 @@ PHP_FUNCTION(mb_decode_numericentity) /* {{{ proto int mb_send_mail(string to, string subject, string message [, string additional_headers [, string additional_parameters]]) * Sends an email message with MIME scheme */ -#if HAVE_SENDMAIL #define SKIP_LONG_HEADER_SEP_MBSTRING(str, pos) \ if (str[pos] == '\r' && str[pos + 1] == '\n' && (str[pos + 2] == ' ' || str[pos + 2] == '\t')) { \ @@ -3806,16 +3805,6 @@ PHP_FUNCTION(mb_send_mail) #undef PHP_MBSTR_MAIL_MIME_HEADER2 #undef PHP_MBSTR_MAIL_MIME_HEADER3 #undef PHP_MBSTR_MAIL_MIME_HEADER4 - -#else /* HAVE_SENDMAIL */ - -PHP_FUNCTION(mb_send_mail) -{ - RETURN_FALSE; -} - -#endif /* HAVE_SENDMAIL */ - /* }}} */ /* {{{ proto mixed mb_get_info([string type]) |
