spam from a contact form
Posted on 2011-09-15
I have a few domains that with contact form Im trying to filter the spam im getting there> but I want to have the option see the spam emails and to decide if I want to mark them as "safe again"
I currently have an interface that i see the contact emails for every domain and I also want the option to mark it there as spam if I want to.
other info: I save all the emails request in a table in the db (contactRequest)
what I initaillt wanted to do is a function checkspam($email)
that mark email as spam by
1 check if the email address is already submitted before (by checking if its in contactRequest)
2. looking for "badwords" in the text of the email
and maybe other option
Im not sure what will work if just to add a spam field to the contact request or create a new table spam and put all the spam emails there.
because how could I show that way the spam each domain and control it by mark it as spam or not ?