The Check E-mail trigger verifies that the given email address exists in the database before sending out an email. In a typical Forgot Password Form, the user enters an e-mail address, and the password is sent to that address. The trigger is used to make sure the address is valid before the e-mail message is sent.
The trigger is automatically generated by the Create Forgot Password Form
server behavior, and also by checking the "Forgot
Password" checkbox in the Login
Form Wizard. If you decide to create your forgot_password
page manually, the trigger can be added directly from the Application
panel, Server Behaviors -> + -> MX Kollection
-> User Login -> Advanced -> Check E-mail.
The trigger interface will then appear:

For instructions on completing this dialog box, see the Advanced tab. For the Check E-mail trigger, by default the Priority is set to 20 and the Type is BEFORE, as it should execute before the transaction takes place.
Note: If you use this server behavior
on the ColdFusion server model, a file named
Application.cfm will be automatically generated
in the site root folder. Do not delete this file, as it contains settings
related to session variables used by the server behavior and the current
application. If you remove this file or modify it, application pages that
use sessions will not function properly.