Webhook Action Missing in SmarterMail Events
Problem reported by Rafael Grecco - 9/26/2025 at 12:36 PM
Submitted
Hello,

I’m working on an integration between my Smartermail installation and a third-party provider for email timestamp certification.

For this, my plan is to use SmarterMail Events for "Message Sent", and set the action to Webhook, which will call a middleware I’m developing. This middleware will then make the request to the third-party provider’s API.

A few weeks ago, I saw the Webhook option available on a development/test environment I had. However, after doing a fresh reinstall with a clean and updated version of SmarterMail (build 9399 running on Ubuntu 24), I no longer see Webhook as an available Action.

What are the prerequisites for this option to appear?

Thanks!

Rafael Grecco Replied
I've noticed that "Send Webhook" was removed from the Event Type "Message Sent", it's only available on "Bounce Received".

Is there any reason for that? How do I send a Webhook when a specific message is sent? (filtered either by e-mail address or subject)

Vince Replied
Hi Rafael,

Where you able to figure this out.  I want to do the same and I noticed that the webhook isn't an option when event type is "message received". I need to alert a 3rd party app that an email was received via webhook. upon receiving the notification, download an email from the mailbox as apposed to polling the mailbox every few minutes.  

Does anyone know of another way of doing this?
Thank You
Rafael Grecco Replied
Hi Vince,

No, I wasn’t able to make it work using Webhook. In my case, I needed to use “message sent,” so I took a different approach. I used the "SMTP Accounts" option under "Connectivity", where I created a fictional email address that connects to a middleware I developed using SMTP. This middleware then calls an API.

In your case, maybe you could use "Content Filter" to forward received messages to a custom application, then this application sends/activates the webhook.
Vince Replied
Hi Rafael,

Thanks for the suggestion, i need to have the webhook fire when a message is received. 
Vince
SmP Replied
Definitely would like to see this option for messages sent/received given that it's already present for bounces!

Reply to Thread

Enter the verification text