More development.
This commit is contained in:
1 parent
caa8dd7d90
commit
50eb707f10
22 files changed
+302
-244
No files matched your search
+5
-14
@@ -1,21 +1,12 @@
|
||||
#ifndef ____SMTP_AUTH_h__
|
||||
#define ____SMTP_AUTH_h__
|
||||
#ifndef ____SMTP_NOOP_h__
|
||||
#define ____SMTP_NOOP_h__
|
||||
|
||||
#include "Command.h"
|
||||
|
||||
namespace http {
|
||||
namespace mail {
|
||||
|
||||
class __SMTP_AUTH : public core::Command {
|
||||
class __SMTP_NOOP : public core::Command {
|
||||
|
||||
int processCommand(std::string request, Session *session, std::stringstream &data);
|
||||
|
||||
data << "" << std::endl;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// NOOP command request handling.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
else if(command(input) == "NOOP") {
|
||||
cout << "250 OK" << CRLF;
|
||||
log.message("Response: 250 OK.");
|
||||
data << "250 OK" << CRLF;
|
||||
}
|
||||
Reference in new issue
Block a user