Require: IP-Symcon >= 2.2
boolean SMTP_SendMail (int $InstanceID, string $Subject, string $Text)
InstanceID | ID of the device to be switched |
Subject | Subject of mail |
Text | Text of mail |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sends from the instance with ID InstanceID an e-mail with the subject and text.
It is used the sender that was specified in the properties page.
SMTP_SendMail(12345, "Alarm!", "The heating system has broken.!");