BARANTMail/__SMTP_QUIT.h
2019-09-13 10:34:10 -07:00

18 lines
334 B
C++

#ifndef ____SMTP_QUIT_h__
#define ____SMTP_QUIT_h__
#include "Command.h"
namespace mail {
class __SMTP_QUIT : public core::Command {
int processCommand(std::string request, Session *session, std::stringstream &data);
data << "221 " << getHostName() << CRLF;
session->shutdown();
}
};
}