Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML

Create a Mailto Form in Macromedia Dreamweaver MX

By Jennifer Kyrnin, About.com

One of the simplest forms is the mailto form, where all the form data is sent, via email, to the recipient. It's easy to create a mailto form in Dreamweaver MX. Follow these simple steps and you'll have a Dreamweaver mailto form in no time at all.
Difficulty: Average
Time Required: 30 minutes

Here's How:

  1. First create the form.
  2. Switch to the Forms tab on the Insert bar, and click on the Form icon (first on the left).
  3. Set the form properties.
  4. Click on the Form box, and in the properties menu, type the following:
    action: mailto:emailaddress
    method: GET
    Enctype: text/plain
  5. Add the form fields.
  6. Choose the fields you want from the Form tab on the Insert bar.
  7. Be sure to include a submit button. Click the button icon (third from the right), and make sure the action is "Submit form".
  8. Save the file.
  9. Upload it to your Web server and test it.

Tips:

  1. It's very important to set the encoding type to "text/plain" otherwise you'll get strange results.
  2. Remember that mailto forms are dependant upon the Web browser your customer uses, the email client, and the operating system. They don't always work.

What You Need:

  • Macromedia Dreamweaver MX

Explore Web Design / HTML

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Web Design / HTML

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. HTML Editors and Software
  5. HTML Editors
  6. Dreamweaver
  7. Dreamweaver How Tos
  8. Create a Mailto Form in Macromedia Dreamweaver MX

©2009 About.com, a part of The New York Times Company.

All rights reserved.