what is wrong with my code?

yathatguy

Registered Member
Joined
May 15, 2011
Messages
58
Reaction score
27
i am doing a little site for a friends massage&physio business and for some reason the contact form isnt sending the emails. it says it is but they are not arriving.. any thoughts? the site is queenstownmassageDOTcom
thanks
 
You should first check your mail spam folder (maybe emails are sent, but you don't see them?), then PHP error logs and then the 'contact/php/contact-send.php' script.
 
PHP only passes your email to a mailserver. If it could pass the email, you are getting success by the mail() function. Your mailserver (or daemon) has to be configured properly to actually send to mails out to the internet. It depends on your hosting how to check this. If you have a dedicated server you should be easily able to configure it. If you are on some shared solution or even webhosting only, it might be impossible to get this working (because you could be spamming all day long). :rolleyes:
 
Back
Top