#ifndef ____SMTP_AUTH_h__
# define ____SMTP_AUTH_h__

# include "SMTPCommand.h"
# include "SMTPSession.h"

namespace mail {
   
   class SMTPServer; 
   
   class __SMTP_AUTH : public SMTPCommand {
      
    public:
      int processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data);
      
      bool authLogin(std::string userName, std::string password, SMTPServer &server);
      
   };
   
}

#endif
