Documentation
SMTP_SendMailEx
Require: IP-Symcon >= 2.2
boolean SMTP_SendMailEx (int $InstanceID, string $Receiver, string $Subject, string $Body)
Parameters
InstanceID | ID of the device to be switched |
Receiver | E-mail Address of the receiver |
Subject | Subject of mail |
Body | Content of the email. Sent as HTML (since 7.0) if <html> and </html> is found, otherwise as text |
Returns
If the command succeeds, it returns TRUE, otherwise FALSE.
Description
Sends from the instance with ID InstanceID an e-mail with the subject and text to receiver
Example
SMTP_SendMailEx(12345, "me@example.com", "Alarm!", "The heating system has broken.!");