Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

void PPOP3Server::OnTOP ( PINDEX  msg,
PINDEX  count 
) [protected, virtual]

Parameters:
msg  Number of message.
count  Count of messages

Definition at line 1275 of file inetmail.cxx.

References HandleSendMessage(), PInternetProtocol::WriteResponse(), and PChannel::WriteString().

Referenced by ProcessCommand().

{
  if (msg < 1 || msg > messageDeletions.GetSize())
    WriteResponse(errResponse, "No such message.");
  else {
    WriteResponse(okResponse, "Top of message");
    stuffingState = StuffIdle;
    HandleSendMessage(msg, messageIDs[msg-1], count);
    stuffingState = DontStuff;
    WriteString(CRLFdotCRLF);
  }
}


Generated by  Doxygen 1.6.0   Back to index