Adobe ColdFusion 8

Sample uses of the cfmail tag

An application page containing the cfmail tag dynamically generates e-mail messages based on the tag's settings. The following sections show some of the tasks that you can accomplish with cfmail:

  • Sending a mail message in which the data the user enters in an HTML form determine the recipient and contents
  • Using a query to send a mail message to a database-driven list of recipients
  • Using a query to send a customized mail message, such as a billing statement, to a list of recipients that is dynamically populated from a database