18 lines
334 B
C++
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();
|
|
}
|
|
|
|
};
|
|
|
|
}
|