email contact form problems

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
saffron
Forum Newbie
Posts: 7
Joined: Sat Apr 05, 2008 6:00 pm

email contact form problems

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: email contact form problems

Post 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
saffron
Forum Newbie
Posts: 7
Joined: Sat Apr 05, 2008 6:00 pm

Re: email contact form problems

Post 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
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: email contact form problems

Post 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/
saffron
Forum Newbie
Posts: 7
Joined: Sat Apr 05, 2008 6:00 pm

Re: email contact form problems

Post 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.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: email contact form problems

Post 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.
saffron
Forum Newbie
Posts: 7
Joined: Sat Apr 05, 2008 6:00 pm

Re: email contact form problems

Post 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.
Post Reply