Logo Search packages:      
Sourcecode: pwlib version File versions

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

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.");
    WriteResponse(errResponse, "No access to " + username + " mail.");

Generated by  Doxygen 1.6.0   Back to index