Creating a secure contact form

One common application in web development is creating a contact form. The basic concept is very simple: you display a form, the user submits it and you send the submitted input to your self. There is, however, and inherent danger in this form: spammer bots may use it to send spam not only to you,