Outgoing email requires access to a SMTP client or relay.  To prevent these
relays from being used for SPAM, most shops will restrict which IP's can use
the relay.  Suggest you contact the administrators of your exchange server,
and make sure the IP is on the list of eligible IP's for using the relay, or
install the smtp client software on your RedHat machine.  Another concern
would be access to DNS serving the domains you intend to send mail to.  Your
SMTP client will need have access a good dns.  Key question, are you
attempting to send email thru a firewall?  Unless you get the an ok for
that, you may find your ability to send email limited to within the domain.

just a few ideas,

Warren Vail
Tools, Metrics & Quality Processes


-----Original Message-----
From: Aaron Paxson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 12:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP] I cannot use mail() ?!?


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("[EMAIL PROTECTED]","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




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

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

Reply via email to