get_message_by_number_via_pop3
get_message_by_number_via_pop3($number); - get a message with the specified number via POP3
The function accepts parameters as input:
$number – message number (starts with 0)
After testing, the function returns the result of its work to the script :
message – message (type XHEMailMessage) with the following fields:br>- from whom
- subject - subject of message
- date - date
- body - the message text
If there is no such message - then the fields will be empty