Skip to content

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, string
  • B is the SMTP server port, integer
  • C is the username, string
  • D is the password, string
  • E is the recipient's email address, string
  • F is the sender's email address, string
  • G is the subject of the email, string
  • H 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, integer 0-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, string
  • B is the SMTP server port, integer
  • C is the username, string
  • D is the password, string
  • E is the recipient's email address, string
  • F is the sender's email address, string
  • G is the subject of the email, string
  • H 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