Introduction
By following this tutorial you will learn how to use Developer Toolbox features to quickly build a page that allows your site visitors leave a message for a certain department of your company.
The web application will allow you to:
- Build a page that lets site visitors write messages to one of your company's departments.
- Save those messages in a database.
- Send the messages through e-mail to the respective departments.
This tutorial contains two main steps:
- Creating the form that will only store the messages in a database.
- Implementing the send e-mail option for the messages.
Requirements
To complete this tutorial you will need to install the following software and files:
Dreamweaver CS3
Adobe Dreamweaver Developer Toolbox
Sample files
Prerequisite Knowledge
I would recommend that you are familiar with Dreamweaver CS3 recordsets.
System requirements
- You have installed one of the following web servers: Microsoft Internet Information Server 5.1 (Windows XP Professional) or 6.0(Windows 2003), Apache 1.3.x or 2.0, or the built-in web server in ColdFusion 6.1 or later.
- You have defined a Dreamweaver site with a testing server or remote server running ColdFusion 6.1 or later, PHP 4.4.0 or later, ASP 5.5 or later. Check out How to define a site in Dreamweaver (TechNote 14028) for instructions on correctly defining your site.
- You have a working database connection from Dreamweaver to any supported database for your preferred server model.
- If using ColdFusion, make sure the CreateObject function is enabled. You can enable and disable this function using the ColdFusion Administrator.
- For the e-mail to be correctly sent, you also need to be able to use a SMTP server.
In the first section of this tutorial, you will plan the contact form
About the author
Razvan Racasanu is a member of the Dreamweaver development team. When he is not working on job-related projects, he enjoys learning new technologies, reading science fiction books, and listening to rock music.