PHP email contact form

Associate
Joined
7 Dec 2003
Posts
1,600
I'm trying to add a contact form to a site, and decded to use Rob's php form (http://robm.me.uk/articles/sending-mail-with-php)

I put the form on the contact page, and the rest in sender.php, and set the action of the form to post to sender.php. I removed the bit that checks how long since you last sent a message, because it didn't seem to work, and then it all worked, and sent the email.

But, even if all fields are filled in and the mail is sent and receivedin my inbox, it still presents the error message about all fields not being completed.

I copied the code exactly from robs site but it just won't work! What am I doing wrong??
 
Back
Top Bottom