In anticipation of the release of my mail form as a plugin for WordPress, I have updated the standalone mail form script.

Updates as follows:

  • compressed and optimised badword checking; checking name field too
  • more easily customisable required fields
  • added more known bots to isBots() function
  • disable Send button on successful mail send to help prevent spam
  • removed carriage return char from header to prevent bad header errors in gmail

As usual, although extensive checking and bug testing has occurred, it’s up to you to let me know if I’ve missed anything. Do leave a comment or fire me an e-mail if you come across any problems.

Comments

  1. Hjortur Hjartarson says

    Just started using your script. Works perfectly but I have one question:

    What about checkboxes? Do you have any sample where checkboxes are used?

  2. james says

    I have been using your form for years and love it. However I have a need to keep the form on one page and the php script on another. is there a way to still do this? i have been playing around with it today, but haven’t had much luck.

    thanks and keep up the great work

  3. says

    Hello, thank you for making mail_form_v.2.2 and sharing it. I tried to use it, and it returned my user input to my SPAM box with this warning “This message was likely forged and did not originate from your account. Learn More” I imagine that i can just mark it “not spam” and be done with it – but my client will probably be concerned about this – is there something I can do to avoid this? – thanks so much!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>