Introduction
The integrated messenger module of the NETx BMS Core Server allows to send an email in an action used in an alarm or a scheduler event.
...
- An email address is required.
- Enabling SMTP access allows you to send email through your own mail server.
- For Gmail, enable Less secure app access.
Core Server configuration
Open the Modules / Messgenger Messenger /[Live] Email menu entry and add a new definition (right click / Insert new definition).
...
Field | Description |
---|---|
Profile | The profile name. |
From | The email address used in the from field of a sent mail. |
Host | Host name or IP address of the SMTP server. |
Port | SMTP service port number. |
UseAuthentication | Login flag. |
Username | Login for the SMTP server (typically email or user name). |
Password | Login password. |
UseSsl | SSL flag. |
...
As mentioned in the Messenger module configuration, NETx BMS Platform ships with a pre-built messenger XCommands is available. We can use the MESSENGER.SENDEMAIL XCommand to send a test email.
In the Core Studio, select the Tools / Run XCommand... menu entry.
Select the MESSENGER.SENDEMAIL Command. Provide the messenger mail profile name, the recipient's email address, the subject, a body and an optional attachment.
...