I am getting mails in My Spam box

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ginogeorgep
Forum Newbie
Posts: 7
Joined: Tue Aug 19, 2008 12:10 pm

I am getting mails in My Spam box

Post by ginogeorgep »

Hi,

My site have a PHP form to send the data's to email and it is working properly but I am getting mails in my Spam box. I am using gmail to recieve the form data.Please help me to receive the mail in my inbox.

Thanks In advance

Gino
Eric!
DevNet Resident
Posts: 1146
Joined: Sun Jun 14, 2009 3:13 pm

Re: I am getting mails in My Spam box

Post by Eric! »

Your headers are probably not properly formed so they are getting picked up as spam by your filters. Make sure your headers are complete.

It is also possible that your mail form was hijacked by a header injection attack and spammers have been sending out email from your account. This will cause your domain name to be immediately blacklisted. Make sure you are filtering all of your form data in your php script to prevent injection attacks.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Re: I am getting mails in My Spam box

Post by superdezign »

maheshchari
Forum Newbie
Posts: 3
Joined: Tue Jul 21, 2009 11:34 pm
Location: hyd

Re: I am getting mails in My Spam box

Post by maheshchari »

Check you ISP provider is in spam list
Post Reply