Email

Introduction

The integrated messenger module of the NETx Server allows to send an email in an action used in an alarm or a scheduler event.

Prerequisites

  • An email address is required.

  • Enabling SMTP access allows you to send email through your own mail server.

Core Server configuration

Open the menu Modules → Messenger → [Live] Email and add a new definition (right click / Insert new definition).

Provide the following information for an email profile:

Field

Description

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

Enable to login to the SMTP server. Disable for anonymous access.

Username

Login for the SMTP server (typically email or user name).

Password

Login password.

UseSsl

Set to true if the SMTP connection shall use TLS.

DefaultRecipient

Recipient e mail address if recipient parameter is not used in XLogic command.

Example of an email profile:

Send a test email

As mentioned in the Messenger module configuration, a pre-built messenger XCommands is available. We can use the MESSENGER.SENDEMAIL XCommand to send a test email.

In the Core Studio menu, select 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 (note: if the profile name does not exist or if this parameter is blank, the first found Email definition will be used.)

Click Execute to send the email. You should receive an email from the configured profile's email to the destination email.

 

Related pages