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

void PPOP3Server::OnPASS ( const PString passwd  )  [protected, virtual]

Parameters:
passwd  Password for account.

Definition at line 1184 of file inetmail.cxx.

References HandleOpenMailbox(), PString::IsEmpty(), and PInternetProtocol::WriteResponse().

Referenced by ProcessCommand().

{
  if (username.IsEmpty())
    WriteResponse(errResponse, "No user name specified.");
  else if (HandleOpenMailbox(username, password))
    WriteResponse(okResponse, username + " mail is available.");
  else
    WriteResponse(errResponse, "No access to " + username + " mail.");
  messageDeletions.SetSize(messageIDs.GetSize());
}


Generated by  Doxygen 1.6.0   Back to index