Hey all!
I'm running PHP on RedHat and have an Exchange server on my network.
I've set my php.ini SMTP value to my Exchange server, and restarted apache. However, I'm still not receiving an email. The function comes back and returns "True" but delivery is not made.
What am I doing wrong??
code:
<?php if(@mail('myaddress@dot.com','Testing','This is a test')) {
echo "Completed successfully!!";
}
else {
echo "Error in sending email";
}
?>
Thanks!!
Aaron