---
title: Enabling the SMTP account status notification handler
description: Enable the SMTP account status notification handler in PingDirectory with dsconfig to send account status notifications to designated email addresses.
component: pingdirectory
version: 11.1
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_enable_smtp_acct_status_notif_handler
canonical_url: https://docs.pingidentity.com/pingdirectory/11.1/pingdirectory_server_administration_guide/pd_ds_enable_smtp_acct_status_notif_handler.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: June 17, 2026
page_aliases: ["pd_ds_view_account_status_notif_handlers.adoc"]
section_ids:
  steps: Steps
  example: Example:
  example-2: Example:
  result: Result:
---

# Enabling the SMTP account status notification handler

## Steps

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

   ### Example:

   ```shell
   $ 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:

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

   ### Result:

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