Translation is in progress...
Not all topics are available at the moment and content links may be broken.
Requires: IP-Symcon >= 2.2
array IMAP_GetCachedMails (integer $InstanceID)
|InstanceID||ID of the IMAP-Instance|
If the command was executed successfully, it returns as its result an array of data to the cached emails, otherwise a Boolean with the value FALSE.
The command returns an array containing information about the cached emails of an IMAP instance with ID InstanceID. Should the instance not exist, an alert is generated.
print_r(IMAP_GetCachedMails(12345)); /* returns e.g.: Array (  => Array ( [Date] => 1295756412 [Flags] => SEEN [Recipient] => email@example.com [SenderAddress] => firstname.lastname@example.org [SenderName] => Test Sender [Subject] => 3 2 1 Test [UID] => 1234 ) ) */