I cannot use mail() ?!?
| From: | Aaron Paxson | Date: | Wed, 31 Jul 2002 19:17:43 +0000 |
| Subject: | I cannot use mail() ?!? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110556@lists.php.net to get a copy of this message | ||
I am currently using PHP 4.2.2 with Apache 1.3 on RedHat 7.2. My email
server is Exchange 5.5sp3
SMTP is set correctly in my php.ini file, and have restarted Apache.
However, I still cannot send out a simple text email:
<?php mail("name@mydomain.com","Test","This is a test message");
?>
The function returns true, but no delivery is made. In looking in my
Exchange Queues, I do not see any sign of an email going through. However,
using an email client in KDE, email is sent just fine through SMTP. Did I
miss something?
Aaron