What can we improve?

Documentation

(Edit)

SMTP_SendMail

Require: IP-Symcon >= 2.2

 boolean SMTP_SendMail (int $InstanceID, string $Subject, string $Text) 

Parameters

InstanceID

ID of the device to be switched

Subject

Subject of mail

Text

Text of mail

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.

It is used the sender that was specified in the properties page.

Example

SMTP_SendMail(12345, "Alarm!", "The heating system has broken.!");