Require: IP-Symcon >= 2.2
array POP3_GetMailEx (int $InstanceID, string $UID)
ID of POP3-Instance
UID of the email to be loaded
If the command was executed successfully, it returns the result in an array with data from the e-mail, otherwise a Boolean with FALSE.
This command loads an email with the UID UID from POP3 instance with ID InstanceID and returns an array containing the data of the e-mail. Should the instance or an e-mail with the given UID not exist, an alert is generated.
print_r(POP3_GetMailEx(12345, "1234")); /* returns e.g.: Array ( [ContentType] => text/plain [Date] => 1295756412 [Flags] => [Recipient] => email@example.com [SenderAddress] => firstname.lastname@example.org [SenderName] => Test Sender [Subject] => 3 2 1 Test [Text] => This is a test! [UID] => 1234 ) */