Require: IP-Symcon >= 4.0
boolean SMTP_SendMailMedia (int $InstanceID, string $Subject, string $Text, int $MediaID)
InstanceID | ID of the SMTP instance |
Subject | Subject of the email |
Text | E-mail text |
MediaID | Media object ID (image/sound and document only) |
If the command succeeds, it returns TRUE, otherwise FALSE.
Sends an email with the subject, media object and text via the instance with the ID InstanceID.
The recipient specified in the properties page will be used. If different recipients are to be addressed, the SMTP_SendMailMediaEx function is to be used.
SMTP_SendMailMedia(12345, "Alarm!", "Someone rang the doorbell, but you're not here!", 23456);