An Email Account Status Notification Handler must be set in the password policy in force for new users. This handler is typically the Default Password policy.

Note: The setup script creates an example notification handler in a disabled state. This handler cannot be enabled until an SMTP server becomes available in the global configuration.

The notification handler references the email template in the config/account-status-notification-email-templates folder.

  1. Create or enable the handler, as appropriate:
    • To create the handler from scratch, use the dsconfig create-account-status-notification-handler command, as the following example shows.
      $ dsconfig create-account-status-notification-handler \
      --handler-name "Delegated Admin Email Account Status \
      Notification Handler" --type multi-part-email --set \
      enabled:true --set \
      "account-creation-notification-request-criteria:Delegated \
      Admin User Creation Request Criteria" --set \
      account-created-message-template:config/account-status-\
      notification-email-templates/delegated-admin-account-created.template
    • To enable the handler that is provided with the setup script, use the dsconfig set-account-status-notification-handler-prop command, as the following example shows.
      $ dsconfig set-account-status-notification-handler-prop \
      --handler-name "Delegated Admin Email Account Status Notification \
      Handler" --set enabled:true
  2. Set the handler in the password policy.
    $ dsconfig set-password-policy-prop \
    --policy-name "Default Password Policy" --set \
    "account-status-notification-handler:Delegated Admin Email Account \
    Status Notification Handler"