dreamweaver courses london - submiting forms
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

replyReply Wed 14 Feb 2007, 10:59Delegate Peter said...

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?

For upcoming training course dates see: Pricing & availability

replyReply Thu 15 Feb 2007, 12:47Trainer Rich said...

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

 


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard