Method POP3Client():deleteMessage() Professional

Deletes an e-mail message on the POP3 server.

Syntax
:deleteMessage( <nMsgIndex> ) --> lSuccess
Parameters
<nMsgIndex>
This parameter is the numeric index, or ordinal position, of the e-mail message to be deleted on the POP3 server. Its range extends from 1 to the return value of :getNumberOfNewMessages().
Return

The method returns .T. (true) if the e-mail message could be deleted on the server, otherwise .F. (false) is returned.

Description

The method marks the e-mail message as deleted on the POP3 server. Any call to this method can be taken back with a call to :undeleteMessage()as long as the connection to the server is not yet disconnected.

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.