SMTP Driver Documentation
Posted 2022-12-22 오후 6:35:00 · 관리자
Dear Joe
Thank for using our software.
We are sorry to tell you , we don`t have smtp x-x-documentation for english version yet.
SMTP driver is used to send system alarm message to registered users via E-MAIL and also you can send message using script.
To use SMTP,
Prerequisite are following.
1. Set E-mail address in user account.
2. Create Device and set mail information. Below is example for MS Office 365 mail server
And then, if you want send E-Mail when system alarm occur, Set Alarm message like below
To set alarm message, you should define alarm on point(status, analog)
To send E-Mail via script
you can use following command
#message
text = 'This is test message'
#user id to send mail on User
receiver = ['weisen','1']
#par 1 -> device Name
#par 2 -> fixed to 'SendMessage'
#par 3 -> message and users
result = remote.sendCommand('SMTP','SendMessage',[text,receiver])
if you have further question, please notify us.
Thanks
-------------------------------------------------------------
Dear Anygate,
Where can I find the x-x-x-documentation for the SMTP driver? I want to send remote.sendCommand() from python to send emails. But I do not know the available commands for the driver.
Thank you,
Joe