23 lines
682 B
C++
23 lines
682 B
C++
#ifndef ____SMTP_AUTH_h__
|
|
#define ____SMTP_AUTH_h__
|
|
|
|
#include "Command.h"
|
|
|
|
namespace http {
|
|
|
|
class __SMTP_AUTH : public core::Command {
|
|
|
|
int processCommand(std::string request, Session *session, std::stringstream &data);
|
|
|
|
data << "" << std::endl;
|
|
|
|
//---------------------------------------------------------------------------
|
|
// QUIT command request handling.
|
|
//---------------------------------------------------------------------------
|
|
|
|
else if(command(input) == "QUIT") {
|
|
cout << "221 " << getHostName() << CRLF;
|
|
log.message("Response: 221 " + getHostName() + ".");
|
|
state = "QUIT";
|
|
break;
|
|
} |