Documentation
POP3_GetCachedMails
Require: IP-Symcon >= 2.2
array POP3_GetCachedMails (int $InstanceID)
Parameters
InstanceID | ID of POP3-Instance |
Returns
If the command was executed successfully, it returns as result an array of data of the cached emails, otherwise a Boolean with the value FALSE.
Description
The command returns an array containing information about the cached e-mails of a POP3 instance with ID InstanceID. Should the instance not exist, an alert is generated.
Example
print_r(POP3_GetCachedMails(12345));
/* returns e.g.:
Array
(
[0] => Array
(
[Date] => 1295756412
[Flags] =>
[Recipient] => recipient@test.test
[SenderAddress] => sender@test.test
[SenderName] => Test Sender
[Subject] => 3 2 1 Test
[UID] => 1234
)
)
*/