Try to pop a message from the mailbox.
max time to wait for a message to arrive.
the retrieved message is written here.
true if a message was retrieved and false if not (such as if a timeout occurred).
See Implementation
Try to pop a message from the mailbox.