CFMail is a tag like any other. Simply put your <CFMail> tag after your
database update/insert code.
Syntax for CFMail
<CFMAIL TO="recipient"
FROM="sender"
CC="copy_to"
BCC="blind_copy_to"
SUBJECT="msg_subject"
TYPE="msg_type"
MAXROWS="max_msgs"
MIMEATTACH="path"
QUERY="query_name"
GROUP="query_column"
GROUPCASESENSITIVE="yes/no"
STARTROW="query_row"
SERVER="servername"
PORT="port_ID"
MAILERID="headerid"
TIMEOUT="seconds">
Remember though, not all options are required and not all work together.
Todd Ashworth
----- Original Message -----
From: "KAREN REITER" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 13, 2000 10:04 AM
Subject: DB update with email notification
> Hi,
>
> I have a form right now that updates a database in CF. I would like for
> an automatic email notification to occur after the database has been
> updated. The "to, from and cc" fields would be included in the update
> form. Currently, we are using a form2email perl script for email
> notification. I am not familiar with CFMail. Any ideas how this could
> be accomplished within one form?
>
> Thanks!
> Karen
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.