How to Create a 'Mailto' Form in Dreamweaver

Adobe Dreamweaver CS6


"Mailto" forms collect information entered by your website visitors. The data is then emailed to an address you designate. "Mailto" forms let site visitors contact a company representative, register for an event, pay a bill, respond to a survey, join a mailing list and perform other communication-oriented tasks online.

A "mailto" form is one of the simplest forms to create in Dreamweaver and should take you, at most, about 30 minutes.


This tutorial works with the following versions of Adobe Dreamweaver:

  • Dreamweaver CS6
  • Dreamweaver CS5
  • Dreamweaver CS4
  • Dreamweaver CS3
  • Dreamweaver 8
  • Dreamweaver MX 2004
  • Dreamweaver MX

Create Your "Mailto" Form

  1. Switch to the Forms tab on the Insert bar, and click on Forms. You'll now see a dropdown list of form elements you can add.

  2. To set the form properties, click on the Form box. In the Properties menu, enter the following:

    Action: mailto:thetargetemailaddress@something.comMethod: GETEnctype: text/plain
    Method: GET
    Enctype: text/plain
  3. Choose the fields you want from the Form tab on the Insert bar.

  4. To add the submit button, click the Button icon and set the action to Submit Form.

  5. Save the file.

  6. Upload the file to your web server and test it.


  • Setting the encoding type to
     is crucial; otherwise, you’ll get strange results.
  • Remember that the proper functioning of "mailto" forms depends upon the web browsers, email clients and operating systems your site visitors use. They don’t always work. Test with a variety of combinations whenever possible.
Was this page helpful?