Dreamweaver Email Submit Button

I created a website using a template. I am editing it using dreamweaver CS3.

On the Contact Us page there is a section where the user can input their email address and message. There is a submit button next to the message box. How do I setup this submit button to send to my email address.

Thanks,
zyanjAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ilovemykeykiCommented:
Assuming your using windows to setup and send an email, please read the following link in a step-by-step process.

Cheers!

http://www.webthang.co.uk/Tuts/tuts_dmx/dmxf_5/dmx5_5.asp
0
rbudjCommented:
You have to have a script to process the form variables.  If your host supports PHP you can follow the example below.  Just create a new php page called something like mail.php.  Make your form action="mail.php" and put the following code in the mail.php page.  You will modify the variables with the NAME of your <input> boxes.
<?php
 
 
 
$recipient = "YourEmail@Address.com";
$subject = "Mailing List Request";
 
$FirstName = $_POST['FirstName']; // where FirstName is the NAME of your <input> field.
$LastName = $_POST['LastName'];
$emailAddress = $_POST['emailAddress'];
 
 
$msg = "FirstName: $FirstName\n";
$msg .= "LastName: $LastName\n";
$msg .= "emailAddress: $emailAddress;
 
 
 
mail("$recipient", "$subject", "$msg", "From: YourEmail@Address.com");
 
?>

Open in new window

0
RouchieCommented:
Just to take things back a level and to clarify rbudj's post, you need a server-side scripting language to process and send form data.  The template will be designed to look okay on screen but will not have the processing functionality built-in.  Both experts above have provided examples for different server-side languages, and your choice is one of many - ASP, PHP, ASP.NET etc etc.
Either way, you'll have to check with your server hosting company to see which (if any) scripting language is set up to run.

You can see how the template designer did a bit of visual trickery there with their design... ;-)
0
zyanjAuthor Commented:
none of these work I have decided to just use a hyperlink
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.