How Publishing Alerts Work in Patch My PC’s Publisher

An important factor of third-party patching is staying informed as new updates publish in real-time. Our alerts feature allows you to be notified via the following methods:

  • Email
  • Microsoft Teams webhook notification
  • Slack webhook notification

This article will cover how the SMTP Settings and Notification Settings work within our Publisher.

Microsoft Teams and SMTP Emails for Patch My PC Publisher Alerts

Topics covered in this article:

How do Email Alerts Work in the SMTP Settings?

The Simple Mail Transfer Protocol (SMTP) has been around since 1982 and is a common method for sending emails. Our Publisher allows you to configure SMTP settings to send email alerts for publishing operations. The first step is to configure the required options for your SMTP server.

SMTP Options in Patch My PC's Publisher

Once the settings are complete, you can click the Test button to see if the recipient received the test email. If you have any issues sending emails, it’s likely an SMTP configuration error, and you can review our article Troubleshooting SMTP Email Report Sending When Using Patch My PC.

Once the SMTP settings are saved, the Publisher will automatically send an email at the end of each synchronization when any updates or applications have been published.

The email will include the following details for all Published products:

  • Update/Application Title (Links to release notes)
  • Time of Publishing
  • Size of binary
  • Update Classification
  • Update Severity Level
  • CVE’s (Links to CVE-ID on https://cve.mitre.org/)

In the example below, you can see an email alert where both updates and applications were published to WSUS & ConfigMgr.

In the example below, you can see an email alert where both Updates and Applications were published to Intune

For products published to Intune, The email will include the following additional information

  • Intune Tenant friendly name
  • Intune assignments set during Publishing.

How do Teams Alerts Work in the Microsoft Teams Settings?

Another option you can enable for alerts is a Microsoft Teams Webhook. The Teams webhook will allow the Publisher to send a message into a Teams channel either as each update or application is published in real-time or a single message at the end of the synchronization.

When the option “Send alerts as each product is published rather than waiting until the end of the synchronization.” is enabled, the Publisher will send a Teams message in real-time right after each update or application is published. When this option is enabled, the message will include more detailed information about each update, including:

  • Update/Application Title (Links to release notes)
  • Time of Publishing
  • Size of binary
  • Update Classification
  • Update Severity Level
  • CVE’s (Links to CVE-ID on https://cve.mitre.org/)

Microsoft Teams Real Time Alerts for Third-Party Security Updates with CVEs

When the option “Send alerts as each product is published rather than waiting until the end of the synchronization.” is disabled, the Publisher will only send a summary of updates and applications published at the end of the synchronization. This option will only include the name of the update or application and link to the release notes.

Microsoft Teams Message Only One Message

More InformationNote: When the Summary option is enabled, notifications can be truncated if they are too long. This is due to Teams specifications. Since we can’t send long notifications to Teams, you will need to enable SMTP Settings to receive a full email report. If email reports are not enabled, you will need to fall back to the log file for more information on any error messages.

How to Create a Microsoft Teams Webhook URL

Before you can send Microsoft Teams alerts, you need to create an incoming webhook:

 Please follow the steps below to create an incoming webhook URL:

  1. Navigate to the channel where the webhook was added and select (•••) More Options from the top navigation bar.
  2.  Choose Connectors from the drop-down menu.
    1. Open Teams Connectors in Channel
  3. On the left, under Manage, choose Configure.
    1. Configure Incoming Webhook
  4. Next, give the webhook a name such as “Patch My PC Publishing“. Optionally, configure an image. You can use the Patch My PC Logo if you want.
    1. Create on Webhook Connectors
  5. Copy the webhook URL:
    1. Copy the webhook URL
  6. Paste the URL into the Webhook URL in the Publisher and click the Test button
  7. You  should see the test message sent in the Teams channel
    1. Test Notification Sent to Teams

More InformationNote: If your team’s Settings => Member permissions => Allow members to create, update, and remove connectors is selected, any team member can add, modify, or delete a connector.

How to Create a Slack Webhook URL

Before you can send Slack alerts, you need to create an incoming webhook:

Please follow the steps below to create an incoming webhook URL:

  1. On the following web page https://api.slack.com/messaging/webhooks, select Create your Slack app (note: you will need to be logged into your Slack account and, depending on your settings, you may need to be a Workspace Owner of the account)
  2. Select Create an App > From Scratch.  Enter an app name, choose your workspace, and then select Create App
  3. Set Activate Incoming Webhooks to On
  4. Select Add New Webhook to Workspace
  5. Choose the channel you want to post to and then select Allow
  6. Copy the Webhook URL and Paste the URL into the Webhook URL in the Publisher and click the Test button
  7. You should see the test message sent in the Slack channel you selected

Custom Options for Teams and Slack Webhooks

You can use a few options to change the way alerts work for Microsoft Teams or Slack.

Send Alerts as each product is published rather than waiting until the end of synchronization

The option Send alerts as each product is published rather than waiting until the end of synchronization controls whether an alert should be sent in real-time after each update or application is the publisher. When this option is enabled, you will receive more messages through the webhook.

If this option is disabled, you will only receive one message after the synchronization is completed that contains a list of all applications and updates published during the sync rather than a message for each.

If you double-click a webhook, you can choose the notification level. The levels include receiving All, Error, or Success. This option can be helpful if you want a specific channel only to receive alerts if an update or application fails to publish.

Webhook Editor Patch My PC Publisher

More InformationNote: When the Summary option is enabled, notifications can be truncated if they are too long. This is due to Teams and Slack specifications. Since we can’t send long notifications to Teams or Slack, you will need to enable SMTP Settings to receive a full email report. If email reports are not enabled, you will need to fall back to the log file for more information on any error messages.