---
updatedAt: 2025-09-24T19:04:34.000Z
agentTools:
  projectIndex: https://synaccess.readme.io/llms.txt
---

# Sending PDU Event Logs to Slack via Email

Our Smart PDUs support outbound notifications using **SMTP email**. You can configure your PDU to send event alerts (e.g., AutoPing failures, outlet reboots, etc.) directly into a Slack channel by generating a channel-specific email address.

## 1. [Create an Email Address for Your Slack Channel](https://slack.com/help/articles/206819278-Send-emails-to-Slack)

1. From your Slack desktop app, open the channel (or DM) you’d like to send email into.
2. Click the channel name in the conversation header.
3. Go to the **Integrations** tab.
4. Select **Send emails to this channel**.
5. Click **Get Email Address**.
6. Copy the generated email address.
   * Example: `randomhash@slack.com`
7. (Optional) Share the address with channel members using the Slackbot prompt, or keep it private.

⚠️ **Important:** Copy this email address. This is what the PDU will use as the recipient.

***

## 2. Configure SMTP on the PDU

1. Log in to the PDU’s web interface.
2. Navigate to **Network → SMTP**.
3. Enter your SMTP server details:
   * **SMTP Server Address**: (e.g., `smtp.gmail.com` or your corporate mail relay)
   * **SMTP Port**: Common values are `465` (SSL) or `587` (TLS)
   * **Enable TLS**: Toggle **On** if supported by your mail server
   * **Authentication Required**: Toggle **On** if credentials are required
   * **SMTP Username/Password**: Enter your email credentials if required
4. Click **Save Changes**.

✅ At this point, your PDU knows how to send outbound emails.

***

## 3. Create an Event Trigger

1. Navigate to **Automation → Events** in the PDU web UI.
2. Click **Create New Event**.
3. Configure your trigger (e.g., *AutoPing Timeout to 8.8.8.8 after 5 failures*).
4. Save the event.

***

## 4. Add an Email Action

1. In the event configuration screen, go to **Add Action** → **Create New Action**.
2. Choose:
   * **Action Type**: `Email Recipient`
   * **Recipient Email Address**: Paste the Slack channel email address from Step 1
   * **Action Name**: (e.g., `Send Alert to Slack`)
3. Save the action.
4. Confirm that the action is now listed under **List of Actions for Event**.

***

## 5. Test the Setup

1. Trigger the event manually (e.g., by setting a temporary AutoPing failure condition).
2. Check your Slack channel.
3. You should see an email-to-Slack notification appear in the channel.

***

## Notes

* **Format:** The PDU sends plain text email. Slack will post this directly into the channel.
* **Delivery Time:** Emails may take a few seconds to appear.
* **Multiple Recipients:** You can add multiple email actions to an event if you want alerts to go to both Slack and a traditional email inbox.

***

## Example Use Case

* **Event Trigger**: 5 consecutive failed pings to `8.8.8.8`
* **Action**: Send email to Slack channel `#network-alerts`
* **Result**: Your Slack channel receives an alert message as soon as the condition is met.

***

That’s it! 🎉 Your PDU is now pushing event logs directly into Slack via email.