PDA

View Full Version : PHP contact form



Fred_Kirupa
September 14th, 2008, 11:12 AM
Don't shoot me yet ... I'm completely new at PHP.

I followed the Kirupa's tutorial on making a PHP contact form. And it all works well, up to the message saying: Data has been submitted to fredhandl@gmail.com!

But the message never arrives in my inbox (I tried a couple of my other e-mail addresses, but none receives the form.

I (really) literally copied the information from the tutorial and only changed the e-mail address (and triple checked that I did't accidentally erased a ", or anything else.

Oh yes, and I DID place the files on my webserver. Any help is greatly appreciated!
FredHandl@gmail.com

Thanks in advance!
Fred

Env
September 14th, 2008, 02:39 PM
Are you using mail() ?
Does your host support PHP Mail?

tfg
September 15th, 2008, 07:11 AM
check your hosting company's documentation.

fasthosts for one have specific criteria which have to be fulfilled before they'll let form mail out. even though php has sent the message to the outgoing mail server successfully (and thus reported back to you that it's been sent), your hosts mail server might block the message from ever leaving their network.