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

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

Parameters:
msg  Number of message.

Definition at line 1249 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,
                 PString(PString::Unsigned, messageSizes[msg-1]) + " octets.");
    stuffingState = StuffIdle;
    HandleSendMessage(msg, messageIDs[msg-1], P_MAX_INDEX);
    stuffingState = DontStuff;
    WriteString(CRLFdotCRLF);
  }
}


Generated by  Doxygen 1.6.0   Back to index