tfPop3UserDeleteMessage

Jump to: navigation, search

Table of Contents >> Optional Protocols >> POP3


#include <trsocket.h>


int tfPop3UserDeleteMessage (
ttPop3ClientHandle pop3Handle,
int messageNumber
);


Function Description

This function is used to delete a message in the mailbox.


Parameters

  • pop3Handle
    The POP3 session handle.
  • messageNumber
    The message number to delete.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    One of the parameters is invalid.
  • TM_EINPROGRESS
    The delete operation is currently in progress, the user should continue calling tfPop3UserExecute() until it returns a value other than TM_EINPROGRESS.


Table of Contents >> Optional Protocols >> POP3