Require: IP-Symcon >= 2.2
boolean SMTP_SendMail (int $InstanceID, string $Subject, string $Body)
ID of the device to be switched
Subject of mail
Content of the email. Sent as HTML (since 7.0) if <html> and </html> is found, otherwise as text
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.!");