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

void PSMTPServer::OnVRFY ( const PCaselessString name  )  [protected, virtual]

Parameters:
name  Name to verify.

Definition at line 539 of file inetmail.cxx.

References AmbiguousUser, LookUpName(), UnknownUser, ValidUser, and PInternetProtocol::WriteResponse().

Referenced by ProcessCommand().

{
  PString expandedName;
  switch (LookUpName(name, expandedName)) {
    case AmbiguousUser :
      WriteResponse(553, "User \"" + name + "\" ambiguous.");
      break;

    case ValidUser :
      WriteResponse(250, expandedName);
      break;

    case UnknownUser :
      WriteResponse(550, "Name \"" + name + "\" does not match anything.");
      break;

    default :
      WriteResponse(550, "Error verifying user \"" + name + "\".");
  }
}


Generated by  Doxygen 1.6.0   Back to index