Configuring the SMTP alert handler - PingDirectory - PingDirectoryProxy - 9.2

PingDirectory 9.2

bundle
pingdirectory-92
ft:publication_title
PingDirectory 9.2
Product_Version_ce
PingDirectory 9.2
category
Product
pd-92
pingdirectory
ContentType_ce

To create a new instance of an SMTP alert handler, use the dsconfig tool.

By default, there is no configuration entry for an SMTP alert handler.

Use the dsconfig tool to configure the SMTP Alert Handler.
$ bin/dsconfig create-alert-handler \ 
  --handler-name "SMTP Alert Handler" \ 
  --type smtp \ 
  --set enabled:true \
  --set "sender-address:alerts@example.com" \ 
  --set "recipient-address:administrators@example.com" \ 
  --set "message-subject:Directory Admin Alert \%\%alert-type\%\%" \ 
  --set "message-body:Administrative alert:\\n\%\%alert-message\%\%"