Require: IP-Symcon >= 5.0
boolean IMAP_DeleteMail (int $InstanceID, string $UID)
ID of the IMAP-Instance
UID of the email to be deleted
If the command succeeds, it returns TRUE, otherwise FALSE.
The function deletes an email with the UID UID from the IMAP-Instance with the ID InstanceID. If the instance or an e-mail with the transferred UID does not exist, a warning is generated.
// Deletes the mail with the e-mail(UID) 1234 IMAP_DeleteMail (12345, "1234"));