Properties

Item used to send emails. The Sink.Smtp item will automatically use TLS if the server supports the STARTTLS command.

The Sink.Smtp item type has the following properties:

Name Description ID Flags
Server Address of smtp server, e.g. 'smtp.office365.com:587' 10500 Persisted
Username Username used to authenticate with the smtp server 10510 Persisted
Password Password used to authenticate with the smtp server 10520 Persisted
From Email address used in the 'From:' field 10530 Persisted
To Email address(es) used in the 'To:' field 10540 Persisted
Cc Email address(es) used in the 'Cc:' field 10550 Persisted
Bcc Email address(es) used in the 'Bcc:' field 10560 Persisted
Importance Value of 'Importance:' field (0=Normal, 1=High, 2=Low) 10570 Persisted, DynamicEnumeration
AuthenticationMethod

Set smtp protocol specific authentication method (PLAIN, LOGIN, NTLM). This setting only has effect if username is specified.

The PLAIN method sends the username and password in plain text. This method is straightforward but should always be used with an encrypted connection (like SSL/TLS) to protect the credentials from being intercepted.

The LOGIN method also sends the username and password in plain text but in a slightly different format compared to PLAIN. The credentials are Base64-encoded, which is not a form of encryption but a way to encode the data.

NTLM (NT LAN Manager) is a challenge-response authentication protocol used primarily in Windows environments. It provides a more secure method of authentication by not transmitting the password directly over the network.

For advanced users, a custom authentication method can be defined using the format AUTH=method.

10580 Persisted, Enumerated
IsConsumer This attribute is TRUE on items that can consume events 10010 ReadOnly, InfoPage
IsProducer This attribute is TRUE on items that can produce events 10020 ReadOnly, InfoPage

See also Predefined Item Properties and OPC DA Properties