Author Topic: Contact forms and form mail cgi question  (Read 207 times)

Offline NiagaraMouse

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Contact forms and form mail cgi question
« on: January 19, 2012, 03:55:44 PM »
I don't understand how using cgi form mail can combat spam when the email address must be placed in the code of the webpage as in the following:

<input type="hidden" name="recipient" value="email@website.com" />

Would someone explain how this works? Is there a better way so that spam bots cannot gather the email address from the coding?

I have found some javascript that I could use to hide the name but do not know how to incorporate it into the page.

Offline Cheryl D Wise

  • Forum Mom
  • Administrator
  • Hero Member
  • *****
  • Posts: 1312
  • Karma: +3/-0
    • View Profile
    • by-expression.com
Re: Contact forms and form mail cgi question
« Reply #1 on: January 19, 2012, 04:04:11 PM »
That form would not prevent spam. You need to use php, asp, asp.net coldfusion or other server side processed method. Typically cgi forms that use the hidden input method are either the old Matt's formmail or similar and none of their authors recommend continuing to use them anymore.
Cheryl D Wise
MS MVP Expression Web
by-expression.com for tutorials & blog

Offline NiagaraMouse

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Contact forms and form mail cgi question
« Reply #2 on: January 20, 2012, 01:45:59 PM »
Thanks for your response. What I know about php and the other suggestions I could put under a fingernail. I will start reading up on it.

Offline Cheryl D Wise

  • Forum Mom
  • Administrator
  • Hero Member
  • *****
  • Posts: 1312
  • Karma: +3/-0
    • View Profile
    • by-expression.com
Re: Contact forms and form mail cgi question
« Reply #3 on: January 20, 2012, 02:21:08 PM »
Not free but reasonable at $30 http://www.bebosoft.com/products/formstogo/overview/ will generate all the options you want including the ability to autorespond and customize responses. The free light version will send emails without all the other options.
Cheryl D Wise
MS MVP Expression Web
by-expression.com for tutorials & blog

Offline NiagaraMouse

  • Newbie
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: Contact forms and form mail cgi question
« Reply #4 on: January 26, 2012, 01:27:21 PM »
Thanks Cheryl.