Method POP3Client():getNumberOfNewMessages() Professional

Returns the number of messages available in the mail account.

Syntax
:getNumberOfNewMessages() --> nMsgCount
Return

The method returns the number of available messages in a mail account.

Description

This method is usually called immediately after :connect() is executed and a connection to the POP3 server is established. The return value of :getNumberOfNewMessages() is the number of messages residing in a user's mailbox on the server which are either not deleted or have arrived since the last connection.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.