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

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

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

**Content:**

Would you like to receive Slack notifications whenever your site fails to send emails? With Slack integration, alerts are sent to your Slack workspaces or individual members of your team.

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

- [Accessing the Email Alerts Page](#email-alerts-page)
- [Creating a Slack App](#configuring-slack-integration)
- [Adding Slack Webhook URL](#add-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 Slack section. To use Slack integration, you’ll need to create a Slack app and add its webhook URL to your site. Before doing this, set the **Slack Alerts** option to the on position.

![Slack alerts toggle on](https://wpmailsmtp.com/wp-content/uploads/2022/07/alerts-slack-enabled.png)You can leave this browser tab open as we’ll return to it later.

## Creating a Slack App

To proceed, [open the Slack API page and create a new app](https://api.slack.com/apps?new_app=1). In the **Create an app** dialog, choose **From scratch** to start building your app.

![Create a Slack app from scratch](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-create-an-app-from-scratch.png)Now you’ll be able to choose an **App Name** for your Slack app.

![Give your Slack app a name](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-name-your-app.png)You’ll also need to choose a workspace for your app from the workspace dropdown list.

![Select a Slack workspace](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-select-workspace.png)**Note:** Be sure to choose the correct workspace because this setting can’t be changed after your app has been created. If you’ve chosen the wrong workspace, you’ll need to create your app again.

Once you’ve chosen your workspace, click the **Create App** button to generate your new Slack app.

![Click create app](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-click-create.png)Once your Slack app is created, you can add both short and long descriptions, an app image, and a background color for the app under Display Information.

We’ve included an example of what a finished description would look like below:

![Slack app information filled in](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-app-information-1.png)When you’re finished setting up your app as you like, click the **Save Changes** button at the bottom right of the screen to save your settings.

![Save Changes to your Slack app](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-app-save-changes-1.png)The next step is to enable and copy the webhook needed to connect your Slack app to WP Mail SMTP on your site.

To do this, click on **Features » Incoming Webhooks** in the sidebar of the Slack API page.

![Incoming webhooks in Slack](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-incoming-webhooks.png)The Incoming Webhooks page allows you to manage all incoming webhooks for your app.

![Slack incoming webhooks page](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-incoming-webhooks-page.png)To get started, set the **Activate Incoming Webhooks** toggle to **On**.

![Slack incoming webhooks activated](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-incoming-webhooks-activated.png)Next, under Webhook URLs for Your Workspace, click on the **Add New Webhook to Workspace** button to generate the webhook URL for your app.

![Generate a webhook for your Slack app](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-app-add-new-webhook-1.png)Since your Slack app will send notifications to a channel or individual, you’ll need to choose the intended recipient from the list of available channels and persons. To do this, click on the dropdown list and choose a channel or individual.

![Choose a recipient for your Slack app](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-app-choose-recipient.png)Now, grant permission to your app by clicking the **Allow** button.

![Click the Allow button](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-app-allow-in-workspace.png)After the operation completes, you’ll be redirected to the Incoming Webhooks page, where you’ll have a new Webhook URL for your app. Copy the Webhook URL from Slack by clicking the **Copy** button.

![Copy Slack webhook URL](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-app-copy-webhook-url.png)## Adding Slack Webhook URL

After copying the URL, return to the browser tab with your WP Mail SMTP settings open and paste the webhook URL into the **Webhook URL** field.

![Slack webhook URL added](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-webhook-url-added-1.png)Once you’re done with this step, 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")If everything is set up correctly, you’ll get notifications in Slack 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.

![Example alert in Slack](https://wpmailsmtp.com/wp-content/uploads/2022/07/slack-example-alert.png)**Note:** For more information about using webhooks in Slack, check out [Slack’s Incoming Webhooks API documentation](https://api.slack.com/messaging/webhooks).

That’s it! You’ve now learned how to configure Slack 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

---

