From:             robert at bsd dot hu
Operating system: IRIX 6.5
PHP version:      4.3.11
PHP Bug Type:     Mail related
Bug description:  the mail() function does not call the needed function in 
mail.c

Description:
------------
When I try to use the mail() function it always returns FALSE. I've put a
debug line:
--- ---
    83  PHP_FUNCTION(mail)
    84  {
    85          char *to=NULL, *message=NULL, *headers=NULL;
    86          char *subject=NULL, *extra_cmd=NULL;
    87          int to_len, message_len, headers_len;
    88          int subject_len, extra_cmd_len, i;
    89          char *to_r, *subject_r;
    90
    91          php_error_docref(NULL TSRMLS_CC, E_WARNING, "called mail()
function.");
--- ---
There is no such warning message in the logs. I've also tried to change
the sendmail_path to a script that touches a file. It does not get
executed.


Reproduce code:
---------------
Anything that uses mail();.


-- 
Edit bug report at http://bugs.php.net/?id=33434&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33434&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33434&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33434&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33434&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33434&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33434&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33434&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33434&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33434&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33434&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33434&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33434&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33434&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33434&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33434&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33434&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33434&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33434&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33434&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33434&r=mysqlcfg

Reply via email to