HTML E-mail Form

  Ade_1 17:33 29 Mar 2006

Hi, i am looking to put a form on a website which when submit is pressed it sends the message to an e-mail address. I know how to create a form on dreamweaver but dont know how to get it to send to my e-mail address.

I will not be able to reply for a couple of hours but thanks in advance!

  [DELETED] 18:02 29 Mar 2006

In the opening Form Tag you would put the following parameters:-

<form action="mailto:insert the email address here" method="post" enctype="multipart/form-data" name="insert a name here" id="insert an ID here">

Be careful. This is not a very secure way of sending data. If you are collecting data from potential customers then you have a legal responsibility to protect that data. It is OK to collect data like names or email addresses this way but it is not OK to collect sensitive data.

  [DELETED] 18:37 29 Mar 2006

Hi Aidan,

click here for a similar thread from me. There's a link in there that gives an invaluable bit of code from Matt45 that will prevent your form being used for spam.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Microsoft Surface Book 2 15in review

Illustrator Amy Grimes on how setting up her own eco-brand led to success with clients too

MacBook Pro keyboard issues and other problems

Test : l’enceinte connectée HomePod d’Apple