To send emails, PingDirectory Server must be configured with an SMTP server in the global configuration, as the following example shows.

$ dsconfig create-external-server --server-name \
"SMTP Server" --type smtp --set server-host-name:smtp.example.com \
--set user-name:example-smtp-user --set password:example-smtp-password
$ dsconfig set-global-configuration-prop --set \
"smtp-server:SMTP Server"