tfPop3UserResetMsgStatus

Jump to: navigation, search

Table of Contents >> Optional Protocols >> POP3


#include <trsocket.h>


int tfPop3UserResetMsgStatus (ttPop3ClientHandle pop3Handle);


Function Description

This function is used to reset the message status of the mailbox. All marked-to-delete message will be unmarked.


Parameters

  • pop3Handle
    The POP3 session handle.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    The 'pop3Handle' is invalid.
  • TM_EINPROGRESS
    In non-blocking mode, this function may return TM_EINPROGRESS, in which case the user should continue calling tfPop3UserExecute() until it returns a value other than TM_EINPROGRESS.


Table of Contents >> Optional Protocols >> POP3