Skip to main content
Oct 5, 2021 7:11 AM UTC
Solved

Email notification from the service

Good time! Can you please tell me if it is possible to create a notification from the service using MailServer? Or just a subscription? There is a service that returns statuses and some more data, it is necessary to send a notification by email according to the status data. Or is it necessary to create a separate property and a subscription for it and embed it in the service?

thanks!

PaiChungAnswer
Oct 5, 2021 1:55 PM UTC

The 'MailServer' Thing has a Service called SendMessage

You can create a service and trigger that from any event to invoke the SendMessage with the necessary information.

2 replies

PaiChungAnswer
Oct 5, 2021 1:55 PM UTC

The 'MailServer' Thing has a Service called SendMessage

You can create a service and trigger that from any event to invoke the SendMessage with the necessary information.

Oct 5, 2021 5:11 PM UTC

That is, it is also normally called from the service? I only called it from subscriptions, so I decided to clarify