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.
View ASP and
HTML code generated using this server behavior extension. Feel free to send us comments & suggestions.
|