Using recordsets and Universal Email

One method for defining the properties of an email is retrieving information from a recordset on the page to which the Universal Email server behavior is applied.

The Universal Email dialog box contains features to directly configure recordset content to populate the TO, CC, BCC, and Attachment properties. Please see the To Tab section for more information.

Body content can be retrieved from a recordset by specifying server-side code directly within the Body tab of the Universal Email dialog box. We recommend creating your body page in Dreamweaver and using the Get from File button to import content directly into the Universal Email dialog. See Using Server-side code and Universal Email for more information.

To learn more about configuring recordsets, please refer to Help > Using Dreamweaver > Making Pages Dynamic > Defining Sources of Dynamic Content > Defining a Recordset

To define email application attributes from a recordset:

  1. Open the page containing the recordset.
  2. Access the Universal Email dialog box.
  3. Select the tab for the property to be configured.
  4. Click the Select Data Bindings button (lightning bolt) next to the property to be defined.

    The Select Data Bindings dialog opens.
  5. From the Field control list, expand the recordset which you are retrieving data from.
  6. Click the recordset column which the information will be retrieved from.
  7. The Code: field will be populated with the necessary code to retrieve the information from the recordset.
  8. Click OK.

    The Code referenced within the Select Data Bindings dialog box will be populated into the appropriate field within the Universal Email dialog box.
  9. Continue to configure the server behavior as appropriate and Click OK to save the configuration.