Formmail.php not sending email
Posted by: marke
Posted on: 2005-08-05 12:38:00
I installed formmail.php from Jack's Scripts
www.dtheatre.com/scripts/formmail.php
It works fine except for one minor problem: It doesn't send the mail, or at least it's not being delivered to the recipient. I have the proper email address configured so that can't be the problem.
The scripts uses the PHP function "mail" to actually send the mail based on the form content. The mail function returns a boolean value. I test for the return value and it returns true, which means that the mail function was successful in sending the mail to the mail server -- whatever mail server PHP is configured to use (php.ini). Since I can't view Dreamhosts' php.ini file I have no idea what server that might be.
Is there any way someone at Dreamhost can help me figure out why the mail isn't being delivered?