Created initial SMTP handlers.
This commit is contained in:
1 parent
1751d431c9
commit
caa8dd7d90
11 files changed
+608
-12
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// NOOP command request handling.
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
else if(command(input) == "NOOP") {
|
||||
cout << "250 OK" << CRLF;
|
||||
log.message("Response: 250 OK.");
|
||||
}
|
||||
Reference in new issue
Block a user