Email¶
/stm.cgi?testemail=1¶
Send a test email.
GET /stm.cgi?testemail=1
Example:
http://192.168.1.100/stm.cgi?testemail=1
/stm.cgi?em1=A&em2=B&em3=C&em4=D&em5=E&em6=F&em7=G&em8=H&em9=I¶
Configure email settings.
GET /stm.cgi?em1=A&em2=B&em3=C&em4=D&em5=E&em6=F&em7=G&em8=H&em9=I
A
is the SMTP server address, stringB
is the SMTP server port, integerC
is the username, stringD
is the password, stringE
is the recipient's email address, stringF
is the sender's email address, stringG
is the subject of the email, stringH
are texts of emails - the first 4 are sent when activating event entries, and the next 4 when deactivating, strings separated by*
I
determines whether to use TLS, integer0-1
Example:
http://192.168.1.100/stm.cgi?em1=smtp.com&em2=587&em3=user&em4=pass&em5=reciver@com.pl&em6=sender@com.pl&em7=subject&em8=email11%20text*email21%20text*email31%20text*email41%20text*email12%20text*email22%20text*email32%20text*email42%20text&em9=0
GET /stm.cgi?em1=A&em2=B&em3=C&em4=D&em5=E&em6=F&em7=G&em8=H
A
is the SMTP server address, stringB
is the SMTP server port, integerC
is the username, stringD
is the password, stringE
is the recipient's email address, stringF
is the sender's email address, stringG
is the subject of the email, stringH
is text of email, string
Example:
http://192.168.1.100/stm.cgi?em1=smtp.com&em2=587&em3=user&em4=pass&em5=reciver@com.pl&em6=sender@com.pl&em7=subject&em8=text