What can we improve?

Documentation

(Edit)

SMTP_SendMailMedia

Requires: IP-Symcon >= 4.0

boolean SMTP_SendMailMedia (integer $InstanceID, string $Subject, string $Text, integer $MediaID)

Parameters

InstanceID ID of the SMTP instance
Subject Subject of the email
Text E-mail text
MediaID Media object ID (image/sound and document only)

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

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.

Example

SMTP_SendMailMedia(12345, "Alarm!", "Someone rang the doorbell, but you're not here!", 23456);
Deutsche Webseite verfügbar
Go to cart
Any questions?