#40139 [Fbk->Opn]: Mail command not returning true on success
ID: 40139 User updated by: sab2002a at yahoo dot com Reported By: sab2002a at yahoo dot com -Status: Feedback +Status: Open Bug Type: Mail related Operating System: FreeBSD 5.4 PHP Version: 4.4.4 New Comment: Some more info... This is what I have under mail in my php.ini [mail function] SMTP= localhost ;for win32 only sendmail_from = [EMAIL PROTECTED];for win32 only sendmail_path = /var/qmail/bin/qmail-inject Also, I'm running netqmail 1.05 with a bunch of patches (spam, virus checking, etc). Previous Comments: [2007-01-22 07:17:52] [EMAIL PROTECTED] We are still unable to reproduce it. [2007-01-20 19:47:55] sab2002a at yahoo dot com Still the same thing. Here's the code: The mail gets delivered and I still get "An error occurred" as the output with nothing else. I'm thinking it may be something to do with the way I'm configuring/compiling. Here's my configure line: ./configure --with-openssl --enable-calendar --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-ttf --with-freetype-dir --with-t1lib --enable-gd-native-ttf --with-gettext --with-gmp --with-iconv --with-mcal --with-mcrypt --with-mhash --with-mime-magic --with-mysql --with-mysql-lib --with-ncurses --enable-pcntl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-tiff-dir --with-pspell --with-mm --enable-sysvsem --enable-sysvmsg --enable-sysvshm --with-xmlrpc --with-iconv-dir --enable-xslt --with-xslt-sablot --with-iconv-dir --with-pear --enable-zend-multibyte --enable-sockets --enable-pcntl --enable-sigchild --enable-libgcc --enable-trans-sid --enable-ftp --with-config-file-path=/usr/local/lib --prefix=/usr/local/php --with-config-file-path=/usr/local/php --disable-cli --enable-force-cgi-redirect --enable-cgi --enable-mbstring [2007-01-19 17:14:14] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Cannot reproduce. [2007-01-19 17:05:50] sab2002a at yahoo dot com Yes, that's what I did as per my previous comment. No errors at all, email gets sent, and I get a "An error occurred" message. [2007-01-16 21:17:23] [EMAIL PROTECTED] set_error_reporting(E_ALL); ini_set("display_errors", 1); The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40139 -- Edit this bug report at http://bugs.php.net/?id=40139&edit=1
#40139 [Fbk->Opn]: Mail command not returning true on success
ID: 40139 User updated by: sab2002a at yahoo dot com Reported By: sab2002a at yahoo dot com -Status: Feedback +Status: Open Bug Type: Mail related Operating System: FreeBSD 5.4 PHP Version: 4.4.4 New Comment: Still the same thing. Here's the code: The mail gets delivered and I still get "An error occurred" as the output with nothing else. I'm thinking it may be something to do with the way I'm configuring/compiling. Here's my configure line: ./configure --with-openssl --enable-calendar --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir --with-xpm-dir --with-ttf --with-freetype-dir --with-t1lib --enable-gd-native-ttf --with-gettext --with-gmp --with-iconv --with-mcal --with-mcrypt --with-mhash --with-mime-magic --with-mysql --with-mysql-lib --with-ncurses --enable-pcntl --with-jpeg-dir --with-png-dir --with-zlib-dir --with-tiff-dir --with-pspell --with-mm --enable-sysvsem --enable-sysvmsg --enable-sysvshm --with-xmlrpc --with-iconv-dir --enable-xslt --with-xslt-sablot --with-iconv-dir --with-pear --enable-zend-multibyte --enable-sockets --enable-pcntl --enable-sigchild --enable-libgcc --enable-trans-sid --enable-ftp --with-config-file-path=/usr/local/lib --prefix=/usr/local/php --with-config-file-path=/usr/local/php --disable-cli --enable-force-cgi-redirect --enable-cgi --enable-mbstring Previous Comments: [2007-01-19 17:14:14] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Cannot reproduce. [2007-01-19 17:05:50] sab2002a at yahoo dot com Yes, that's what I did as per my previous comment. No errors at all, email gets sent, and I get a "An error occurred" message. [2007-01-16 21:17:23] [EMAIL PROTECTED] set_error_reporting(E_ALL); ini_set("display_errors", 1); [2007-01-16 19:20:07] sab2002a at yahoo dot com I set error reporting and display errors on to max and still the same thing. I don't receive any error messages. [2007-01-15 20:40:02] [EMAIL PROTECTED] Set display_errors to On and error_reporting to E_ALL. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40139 -- Edit this bug report at http://bugs.php.net/?id=40139&edit=1
#40139 [Fbk->Opn]: Mail command not returning true on success
ID: 40139 User updated by: sab2002a at yahoo dot com Reported By: sab2002a at yahoo dot com -Status: Feedback +Status: Open Bug Type: Mail related Operating System: FreeBSD 5.4 PHP Version: 4.4.4 New Comment: Yes, that's what I did as per my previous comment. No errors at all, email gets sent, and I get a "An error occurred" message. Previous Comments: [2007-01-16 21:17:23] [EMAIL PROTECTED] set_error_reporting(E_ALL); ini_set("display_errors", 1); [2007-01-16 19:20:07] sab2002a at yahoo dot com I set error reporting and display errors on to max and still the same thing. I don't receive any error messages. [2007-01-15 20:40:02] [EMAIL PROTECTED] Set display_errors to On and error_reporting to E_ALL. [2007-01-15 20:31:17] sab2002a at yahoo dot com Description: I have PHP setup as a CGI and am using qmail as my mail server. When I use the mail() function, on success, I do not get a true return on the function. I get no return. On failure, I do get a false return. Reproduce code: --- Expected result: Expect to see "no error occurred" and email sent. Actual result: -- The email gets sent but I get a "An error occurred" message. -- Edit this bug report at http://bugs.php.net/?id=40139&edit=1
#40139 [Fbk->Opn]: Mail command not returning true on success
ID: 40139 User updated by: sab2002a at yahoo dot com Reported By: sab2002a at yahoo dot com -Status: Feedback +Status: Open Bug Type: Mail related Operating System: FreeBSD 5.4 PHP Version: 4.4.4 New Comment: I set error reporting and display errors on to max and still the same thing. I don't receive any error messages. Previous Comments: [2007-01-15 20:40:02] [EMAIL PROTECTED] Set display_errors to On and error_reporting to E_ALL. [2007-01-15 20:31:17] sab2002a at yahoo dot com Description: I have PHP setup as a CGI and am using qmail as my mail server. When I use the mail() function, on success, I do not get a true return on the function. I get no return. On failure, I do get a false return. Reproduce code: --- Expected result: Expect to see "no error occurred" and email sent. Actual result: -- The email gets sent but I get a "An error occurred" message. -- Edit this bug report at http://bugs.php.net/?id=40139&edit=1