Page 1 of 1
email contact form problems
Posted: Sat Apr 05, 2008 6:08 pm
by saffron
Can anyone tell me why after using many upon many scripts that.When the email contact form(html) is filled out and the php file is called upon and executed properly that I do not get the contact information in my email????.My server does support php. and with any of the other php scripts they work fine.
Thanks
Re: email contact form problems
Posted: Sat Apr 05, 2008 6:57 pm
by Chris Corbyn
It's being blocked as junk mail. I bet either:
a) The script is generating incompliant email
b) Your server is in a black list (highly likely is you're using shared hosting)
http://swiftmailer.org/wikidocs/v3/tips/spam
Re: email contact form problems
Posted: Sat Apr 05, 2008 7:27 pm
by saffron
Chris thanks for the info. My domain(where the script is sitting) is not a sub-domain. But I do have one sub-domain running off the original could this be the cause to the problem?
thanks
Re: email contact form problems
Posted: Sat Apr 05, 2008 8:54 pm
by Chris Corbyn
saffron wrote:Chris thanks for the info. My domain(where the script is sitting) is not a sub-domain. But I do have one sub-domain running off the original could this be the cause to the problem?
thanks
No, subdomains don't really have anything to do with (apart from the way the MX record works).
If you know the server's IP address and the SMTP server's IP address put them in here:
http://www.robtex.com/rbl/
Re: email contact form problems
Posted: Sat Apr 05, 2008 9:34 pm
by saffron
Chris, the check for black-list,is fine no red did show up.So where do I go from here.The ip and smtp servers are good to go not blacklisted.Anymore ideas would be more than helpful.
Thanks again for all your help.
Re: email contact form problems
Posted: Sat Apr 05, 2008 9:51 pm
by Chris Corbyn
What script are you using? Have you checked your junk mail folder (if you have one)?
The other important thing is to ensure you have a SPF record for your domain. This is mentioned in that link I posted before.
Re: email contact form problems
Posted: Tue Apr 08, 2008 9:20 am
by saffron
Chris or anyone else;Problem solved as follows.
For server settings on my server.
ini_set("sendmail_from", "webmaster@yourdomain");
If anyone needs the contact.html and contact.php in which I have an ajax form also.
Let me know.
Thanks for all the support guys.