Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Random Spam in my Forms.

Options
  • 24-08-2010 2:25pm
    #1
    Closed Accounts Posts: 314 ✭✭


    So I have 2 basic Forms in my website, using Formail and every now and again I get a bunch of jibberish sent to my inbox from them.

    Obviously some bots are spamming my forms..

    How do I prevent this?

    These are my forms here

    Any help appreciated thanks! :rolleyes:


Comments

  • Closed Accounts Posts: 9,700 ✭✭✭tricky D


    There's a more up-to-date version of this formmail which specifies the recipient address(es) within the script itself as opposed to in a hidden field in the html like the one you're using.

    It's here: http://nms-cgi.sourceforge.net/formmail_compat-3.14c1/

    You need to specify the @referrers, allow_mail_to and @recipients.

    Check EXAMPLES for anything else.


  • Closed Accounts Posts: 314 ✭✭Joebits


    tricky D wrote: »
    There's a more up-to-date version of this formmail which specifies the recipient address(es) within the script itself as opposed to in a hidden field in the html like the one you're using.

    It's here: http://nms-cgi.sourceforge.net/formmail_compat-3.14c1/

    You need to specify the @referrers, allow_mail_to and @recipients.

    Check EXAMPLES for anything else.

    What do you mean? :confused:


  • Registered Users Posts: 1,801 ✭✭✭cormee


    Joebits wrote: »
    So I have 2 basic Forms in my website, using Formail and every now and again I get a bunch of jibberish sent to my inbox from them.

    Obviously some bots are spamming my forms..

    How do I prevent this?

    These are my forms here

    Any help appreciated thanks! :rolleyes:

    You probably need to implement a CAPTCHA test on the form, I use http://www.google.com/recaptcha which I find quite effective.

    You could also try renaming your Formail.php to something a little more obscure (and changing your form action to reflect the new filename), the spam you are receiving is probably being sent by a bot searching for forms on pages that use formail.php, renaming the file can supposedly fix that. I've never tried this method though.


  • Registered Users Posts: 1,801 ✭✭✭cormee


    You don't seem to have any mandatory fields on your forms - I just submitted one that had no content. And from a basic usability point of view you should make it just one form, instead of two, and get rid of all unnecessary fields - remove everything except Name, Email, Phone and Comment/Query - people don't like filling out forms.


Advertisement