Send an email using a ColdFusion form

Page 1 of 2
  1. Introduction
  2. The Code

Introduction

There's alot of hype about buying appliances for ColdFusion, but you can do it all with an ISP that supports ColdFusion, Notepad and a good book on it. Like ASP ends with .asp, Coldfusion pages end with a .cfm. The form is called cform instead of form, and input texts are called cfinput texts. You can actually get away though with having the originating form being an htm document, and the resulting form being a cfm document.

Remember if you don't have ColdFusion, I will host the form for you, in a directory with a name of your choice, and you can just link up to your form. Before you test this form, just press the Submit button, and see how the validations work. ColdFusion actually writes the Javascript from basic html for these validations the minute it is in a ColdFusion server - pretty tricky, huh?  Also, no problem, I can have this form go into a database (actually a table), so your results are easily accessible.

You might also like...

Comments

Julia Lynne Green I have been a ColdFusion and ASP programmer for UPS in Watertown Massachusetts for the past two years, and for my own business, Julia Computer Consulting. I believe ColdFusion is the way of the fut...

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Some people, when confronted with a problem, think "I know, I’ll use regular expressions." Now they have two problems.” - Jamie Zawinski