General tab

The General tab of the Universal Email dialog box configures the subject, importance, and character set selected the email, as well as when the email is sent, and where the browser redirects afterwards is configured on this tab.


Subject

Sets the content for the subject line included in the email. The following options are available to determine this content:

Importance

Sets the priority value for the email created. Text values must adhere to the following naming convention and are case sensitive:
  • High
  • Default
  • Low
Static values of High (1), Default (3) and Low (5) are available through the dropdown list.

Code may be entered in the same formats as listed above to specify the Subject tab. Values should reflect a scale from 1 to 5 with 1 as High, 3 as Default, and 5 as Low when retrieved using a dynamic data source.

Character Set

Selects the character set to define for the email header, allowing you to select regional character sets as necessary to ensure the email recipient can render the message appropriately. This options defaults to the US ASCII standard.

Trigger

Specifies the event which will send the email from the page. The following three options are always available:
  • Any Form Post: Any form posted to the current page that the server behavior is applied to will send the email.
  • Before Page Load: The email send is triggered when the current page that the server behavior is applied to is loaded.
  • On Form Submit: Any form submitted on the same page that the server behavior is applied to will send the email.
  • eCart [cart name] is not empty: The server behavior is triggered if the specified shopping cart applied to the page contains no items.
  • eCart [cart name] is empty: The server behavior is triggered if the specified shopping cart applied to the page contains no items.
  • Button [button name] pressed: The server behavior is triggered if the specified button on the page is clicked.
  • Recordset [recordset name] is not empty: The server behavior is triggered if the specified recordset applied to the page contains no items.
  • Recordset [recordset name] is empty: The server behavior is triggered if the specified recordset applied to the page shopping cart contains no items.
  • Dynamic Data: Server-side code can be specified in the dynamic data interface (accessed through the lightning bolt) to create a trigger specific to your needs if one in the list does not meet your requirements.

Go to page

Specifies the redirect destination page after the email is sent. Leaving this field blank configures the page to redirect to itself.

The following formats are accepted to specify the redirect location:
  • an http: location
    (e.g. http://www.domain.com/folder/destination.asp)
  • a path relative within the defined site
    (e.g. /folder/destination.asp)
  • a path relative to the document
    (e.g. file:///C|/folder/destination.asp)
The Browse button opens the Select a File dialog. Select a path relative to the site or enter a path relative to the document.

The dynamic attribute button opens the Select Data Bindings dialog. Select a data binding available through the dialog or enter server-side code to retrieve data from the page. See Using server-side code and Universal Email for more information.

Note: The preferred convention is to use a path relative to the site for pages within the same Dreamweaver site definition. This facilitates changes in location of the entire site without reconfiguring file location paths.