Email

Characteristics - Email

SMARTUNIFIER provides the capability of integrating the email protocols. The email protocols define the mechanism of the email exchange between servers and clients. An email protocol is a group of rules which ensure that emails are properly transmitted over the Internet.

Information Model Requirements

Configuration - Email

  1. Select EMail as Channel Type.

  2. Click the Configure button.

Email Setup
  1. Make sure the root model node is selected to configure the Email Client.

  2. Enable Incoming server for configuration, based on the email provider:

  • Select the Protocol

  • Input the Hostname

  • Provide the Port

  • Input the Folder name

  • Select the Connection security

  • Choose the Authentication method

  • Input credentials

  • Configure the Polling interval for checking new emails

  • Configure the Timeout length

Email Incoming Config Email Incoming Config
  1. Enable Outgoing server for configuration, based on the email provider:

  • Input the Hostname

  • Provide the Port

  • Input the From hostname

  • Select the Connection security

  • Choose the Authentication method

  • Input credentials

  • Configure the Polling interval for checking new emails

  • Configure the Timeout length

  1. Click on the Apply button.

Email Outgoing Config
  1. Select the Event node.

  2. Enable Sender for configuration:

  • Input the Subject if not using a Subject variable under the Event node

  • Provide the Receiver address if not using a To variable under the Event node

  • Input the Html email template (optional)

  1. Enable Receiver for configuration:

  • Input filter based on the Sender

  • Provide filter based on the Subject

  1. Click on the Apply button.

Email Event Config
  • Example of sending the value of a Variable:

Email Event Config
  1. Select the Variable:

  • If the variable is using a key name (To, From, Subject, Body) no additional configuration is needed

  • Example of Variable used as Subject:

Email Event Config
  1. Click on the Apply button to finish.

Description of data type format:

Data Type

Size

Range

BYTE, USINT, UInt8

8 Bit

0 - 255

WORD, UINT, UInt16

16 Bit

0 - 65.535

DWORD,UDINT, UInt32

32 Bit

0 - 4.294.967.295

LWORD,ULINT, UInt64

64 Bit

0 - 2^64-1

SINT, Int8

8 Bit

–128 - 127

INT, Int16

16 Bit

–32.768 - 32.767

DINT, Int32

32 Bit

–2.147.483.648 - 2.147.483.647

LINT, Int64

64 Bit

–2^63 - 2^63-1

REAL, Float32

32 Bit

-3,402823e+38 - 3,402823e+38

LREAL, Float64

64 Bit

-1,7976931348623158e+308 - 1,7976931348623158e+308

Description of configuration properties:

Property

Description

Example

Protocol

Incoming server protocol

IMAP

Incoming Hostname

Incoming server address

imap.domain.com

Port

Server port

143

Folder

Incoming emails folder

INBOX

Connection security

Communication security standards

SSL/TLS

Polling length

Automatic polling of Email server

60

Timeout length

Time interval the connection times out

10

Outgoing Hostname

Outgoing server address

smtp.domain.com

Outgoing From

Sender Email address

name@domain.com

Subject

Email subject

MySubject

To

Receiver address

name@domain.com

Html email template for body

HTML code for email body

MyTemperature: $(temperature)

From filter

Filter by sender using regex

*.domain.*

Subject filter

Filter by subject using regex

*MySubject*