Email¶
The Email page contains SMTP client configuration for sending emails from the Watchdog and Events functions.
Page elements¶
Form with the following fields:
- general settings
- SMTP server address
- server port
- use TLS (no encryption, SSL/TLS, StartTLS - options available since SW 1.13)
- user name
- user password
- sender
- settings for the Watchdog function
- recipient
- the subject of the message
- the content of the message
- settings for the Events function (4 sections E-mail 1-4)
- configuration to use when the condition is met
- recipient
- the subject of the message
- the content of the message
- configuration to be used when the condition is no longer met
- recipient
- the subject of the message
- the content of the message
- configuration to use when the condition is met
- buttons for saving settings and trying to send a message according to the current settings
How to use Gmail¶
To send emails via a Gmail account from Lan Controller, you need to use App passwords. To be able to use them, it is required to enable 2-Step Verification (2FA).
Sign in to your Google account and then go to Security & sign-in tab.
In the How you sign in to Google section, select 2-Step Verification. Then, in that section, at the bottom, you should see App passwords. If not, you may try the direct link to the section at https://myaccount.google.com/apppasswords, otherwise, see Google support article for details.
In the App passwords follow the instructions - give a name for the application, e.g., Email on LK, and click Create. As a result, a new window will appear with the generated password, which should be copied and pasted into the Password field in the Email tab on LK4 (other settings are similar to the first picture on this page). After saving the settings, sending emails can be tested.


