PingDirectory

Enabling the SMTP account status notification handler

Steps

  1. To enable the SMTP account status notification handler, use the dsconfig command.

    Example:

    $ bin/dsconfig set-account-status-notification-handler-prop \
      --handler-name "SMTP Handler" --set enabled:true \
      --set "recipient-address:admin@example.com" \
      --set "sender-address:acct-status-notifications@example.com"
  2. To verify the handler is enabled, view the list of account status notification handlers.

    Example:

    $ bin/dsconfig list-account-status-notification-handlers

    Result:

    Account Status Notification Handler   : Type	  : enabled
    --------------------------------------:-----------:--------
    Error Log Handler	              : error-log : true
    SMTP Handler	                      : smtp  	  : true