php mail function not work from apache,but work well from command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

    i got a prolem.php mail() function can not send email from http
request(apache),but it work well if i call it from command line.

/usr/local/php5.3.28/bin/php test_mail.php               => ok
http://ip/test_mail.php                  => failed.

i check both apache  error log and /var/log/maillog,but nothing get there.
i am running php5.3.28 over apache as module. with phpinfo and this command,
/usr/local/php5.3.28/bin/php --ini , i am sure they use same php
config file.i also tried to turn off the iptable,but no lucky shot.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux