Using a Rule to Test Templates and Email Configuration

This example rule can also be used to test the email server configuration or to test any email template. Complete these steps to use the rule for testing purposes:

Note: To test email templates independently from the email server configuration without actually sending emails through the server, choose Email Notification Type: Redirect to File. This writes the email text to the specified file.

  1. Set up an email server on Gear icon > Global Settings > IdentityIQ Configuration > Notification Settings.

  2. Edit an email template to contain the desired message and import it.

  3. Edit the "Test Email Sending" rule to include the desired "To" email address, email template, and arguments, and import the rule. (Rules are imported the same way as templates, as described in Importing Email Templates into IdentityIQ.)

  4. Run the "Test Email Sending" rule from the IdentityIQ console to send the email.

    > rule "Test Email Sending"

  5. Examine the resultant email (either in the recipient's inbox or the redirect email file) to verify that the message appears as expected.

For an overview of developing and using rules in IdentityIQ, see Rules and Scripts in IdentityIQ.