Formmail.php not sending email

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?

Re: Formmail.php not sending email

Posted by: conspicuous
Posted on: 2005-08-05 12:58:00

Have you checked out Dreamhost's formmail? It is also based off of Matt Wright's Perl Formmail and has the added benefit of having all the security holes patched up.

Re: Formmail.php not sending email

Posted by: marke
Posted on: 2005-08-05 13:04:00

No, I want to use Jack's PHP-based script, which is based on Matt's script. With PHP I was able to add "chaptkas" which is basically a verification code image that the user needs to read and enter in order to send a message with the form. This helps prevent spam.

I see no reason that the PHP version should not work. So can someone at Dreamhost give me some help please?

Re: Formmail.php not sending email

Posted by: ardco
Posted on: 2005-08-05 13:06:00

I wouldn't eliminate the possibilty that recently reported email problems could be involved.

Good luck,

BobS

Re: Formmail.php not sending email

Posted by: ardco
Posted on: 2005-08-05 13:14:00

> So can someone at Dreamhost give me some help please?

If you're in a hurry for that, you should submit a Support request, and wait patiently. Be prepared, also, for the possibility they'll tell you it's 3rd party software so they can't help debug it.

Good luck,

BobS

Re: Formmail.php not sending email

Posted by: dallas
Posted on: 2005-08-11 10:53:00

Our php mail does work and I don't know of any problems with hosting servers not being able to send out mail. Make sure you have it configured properly so any bounces will go to a working address.

- Dallas
- DreamHost Head Honcho/Founder

Re: Formmail.php not sending email

Posted by: chrisjj
Posted on: 2005-08-11 16:46:00


> Have you checked out Dreamhost's formmail?

Note: Useless if you need to set the From: address.

Tags: mail servermail functionserver phpphp functionemail addressdreamhostini fileformmailscriptsrecipienti have no idea