### [Setting Up Discord Alerts](https://wpmailsmtp.com/docs/setting-up-discord-alerts/)

**Published:** July 17, 2025
**Author:** David Ozokoye

**Excerpt:** Learn how to configure Discord alerts integration in WP Mail SMTP.

**Content:**

Would you like to receive Discord notifications whenever your site fails to send emails? With our Discord integration, alerts are sent to your Discord servers or individual channels on your Discord server.

This tutorial will show you how to configure Discord alerts in WP Mail SMTP.

- [Accessing the Email Alerts Page](#email-alerts-page)
- [Creating a Webhook Connection](#webhook-connection)
- [Adding Discord Webhook URL](#adding-webhook-url)

---

Before getting started, you’ll first need to make sure WP Mail SMTP is [installed and activated](https://wpmailsmtp.com/docs/how-to-install-the-wp-mail-smtp-plugin/) on your WordPress site and that you’ve [verified your license](https://wpmailsmtp.com/docs/how-to-verify-your-wp-mail-smtp-license/).

## Accessing the Email Alerts Page

To begin setting up email alerts from the WordPress dashboard, go to **WP Mail SMTP » Settings** and click on the **Alerts** tab.

![Where to find Alerts in WP Mail SMTP Settings](https://wpmailsmtp.com/wp-content/uploads/2023/08/email-alert-settings.png)Once here, scroll down to the Discord section. To get started, you’ll need to create a webhook connection on your Discord server. Then, use the webhook URL to establish a connection between your site and Discord.

To do this, toggle the **Discord Alerts** option to the **ON** position.

![Enable Discord Alerts option](https://wpmailsmtp.com/wp-content/uploads/2024/10/enable-discord-alerts.png)You can leave this browser tab open as we’ll return to it later.

## Creating a Webhook Connection

To start, you’ll need to [log in to your Discord server](https://discord.com/channels/). Once there, click the Server’s name at the top left corner to open additional settings.

![Open Discord server options](https://wpmailsmtp.com/wp-content/uploads/2024/10/open-server-options-1.png)Then, select **Server Settings** from the dropdown menu.

![Select Server Settings](https://wpmailsmtp.com/wp-content/uploads/2024/10/server-settings-1.png)In the Server Overview page, select the **Integrations** sidebar menu under the **APPS** section.

![Select the Integrations menu](https://wpmailsmtp.com/wp-content/uploads/2024/10/integrations-1.png)Then click the **Create Webhook** button to proceed.

![Click the Create Webhook button](https://wpmailsmtp.com/wp-content/uploads/2024/10/create-webhook-1.png)This will generate a new webhook connection for your Discord server. Go ahead and click the Webhook to view additional details.

![Select New webhook button](https://wpmailsmtp.com/wp-content/uploads/2024/10/click-webhook-name.png)Next, enter a name you’d like to use in the **Name** field. This name can be helpful if you have multiple webhooks.

![Set webhook name](https://wpmailsmtp.com/wp-content/uploads/2024/10/set-webhook-name-1.png)Then, you’ll need to select the channel you’d like to send the email alerts to.

![Select Discord channel](https://wpmailsmtp.com/wp-content/uploads/2024/10/select-webhook-channel-1.png)**Note:** You can update the webhook icon image by clicking the Photo icon next to the Discord logo.

Once done, be sure to click the **Save Changes** button to update your webhook.

![Click the Save Changes button](https://wpmailsmtp.com/wp-content/uploads/2024/10/click-save-changes-1.png)Now, click the **Copy Webhook URL** button for your new webhook connection.

![Copy webhook URL](https://wpmailsmtp.com/wp-content/uploads/2024/10/copy-webhook-url-1.png)## Adding Discord Webhook URL

After that, return to your WP Mail SMTP Alerts settings page and paste the URL into the **Webhook URL** field.

![Paste webhook URL](https://wpmailsmtp.com/wp-content/uploads/2024/10/paste-webhook-url.png)Next, either save your settings or [continue to add other integrations](https://wpmailsmtp.com/docs/setting-up-email-alerts/). To save your settings, scroll down and click the **Save Settings** button.

![Save your alerts settings](https://wpmailsmtp.com/wp-content/uploads/2025/06/save-settings-button.png "Save Your Alerts Settings")Once everything is set up correctly, you’ll get notifications in your Discord Server whenever your site fails to send an email. You can click the [Test Alerts button](https://wpmailsmtp.com/docs/setting-up-email-alerts/#testing) to confirm your configuration.

![Discord alerts test](https://wpmailsmtp.com/wp-content/uploads/2024/10/discord-alerts-test-1.png)That’s it! You’ve now learned how to configure Discord alerts in WP Mail SMTP.

Next, would you like to ensure emails are always sent on your website? See our tutorial to learn [how to configure a backup connection in WP Mail SMTP](https://wpmailsmtp.com/docs/configuring-backup-connection/ "Configuring a Backup Connection").

**Categories:** Functionality

---

