Working with the SMTP Account Status Notification Handler
You can enable account status notifications to be sent to designated email addresses of end users, administrators, or both through an outgoing SMTP server. The email message is automatically generated from template files that contain the text to use in the message body. For example, the message subject for the account-disabled event is:
account-disabled: Your directory account has been disabled.
The message templates are located in the config/messages
directory. The typical message body template is as follows:
Your directory account has been disabled. For further assistance, please contact a server administrator.
By default, the sender address is notifications@example.com
, but you can configure your own address.
Before you enable the SMTP Account Status Notification Handler, you must configure the PingDirectory server to use at least one mail server as shown below. You can configure an SMTP server using dsconfig
and the set-global-configuration-prop
option.