dreamweaver courses london - submiting forms

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver courses london - Submiting Forms

dreamweaver courses london - Submiting Forms

resolvedResolved · Low Priority · Version Standard

Peter has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course

Submiting Forms

When creating a Contact Us form how do you get the form sent to an email account?

RE: Submiting Forms

Hi Peter,

There are two ways.

The first is the basic, no-frills version in which you have "mailto:peter@yourdomain.com" as the ACTION value of the form. This will send all the fields and their values to the e-mail address specified. However, the web site user gets 1 or more security warnings and the form uses their default e-mail program to send the e-mail (eg. outlook), so if they haven't got one installed, it won't work. The e-mail is usually horribly formatted.

You'd be better off developing a server-side script (written in ASP/PHP/CGI etc.) to take the fields and values and e-mail them to a number of e-mail addresses of your choosing. This results in a much better formatted e-mail (however you like: text or html), and you can also show your visitors a nice 'success' page once the task has been done.

As David said in answer to your previous question. You'll need to have some kind of server side scripting language installed on your web site (eg. ASP or PHP). If you're using PHP, I'd recommend the included PEAR module 'Mail' as it's all set up to go. You just plug in the values into the class/function such as To, From, Subject and Body.

If you're stuck or want a quicker solution, I'd recommend free-to-use 3rd party Bravenet who provide the service for you.

I hope this helps. Good luck.

Regards, Rich

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


Server loaded in 0.07 secs.