Assonet River Design Group : Portfolio : Code Snippets : Contact

Rated:
by Aspin.com users
What do you think?
CDO Email Form 1.0 - (Free)
ASP Server Behavior for Dreamweaver UltraDev


written by Pete Erwin
March 16, 2002


This server behavior inserts ASP code required to send an email using CDO along with form text fields: 'To', 'From', 'CC', 'Subject', & 'Message'.

By default, a message will be displayed on the page after sending the email. Comment out the Response.Write line and comment in the Response.Redirect line to display a new page after sending the email. Obviously, you'll need to create this page yourself.

You may want to change certain fields types in your form to suit your needs (i.e. make them hidden, or contain fixed values, etc.). Try binding data from a recordset to make the field values dynamic. This can also be used as a 'Tell-A-Friend' style form.

Download Extension Download Now (4kb)

Once installed:

Server Behaviors > Assonet River > CDO Email Form

View ASP and HTML code generated using this server behavior extension.
You can copy and paste the code into your ASP page without using UltraDev.

Feel free to send us comments & suggestions.