Logo Search packages:      
Sourcecode: pwlib version File versions

int PPOP3Client::GetMessageCount (  ) 

Get a count of the number of messages in the mail box.

Number of messages in mailbox or -1 if an error occurred.

Definition at line 1054 of file inetmail.cxx.

References PString::AsInteger(), and PInternetProtocol::ExecuteCommand().

Referenced by GetMessageHeaders().

  if (ExecuteCommand(STATcmd, "") <= 0)
    return -1;

  return (int)lastResponseInfo.AsInteger();

Generated by  Doxygen 1.6.0   Back to index