sync
This commit is contained in:
1 parent
37b5a5bf4e
commit
6c844983d9
27 files changed
+230
-272
No files matched your search
+6
-10
@@ -1,20 +1,16 @@
|
||||
#ifndef ____SMTP_RSET_h__
|
||||
#define ____SMTP_RSET_h__
|
||||
|
||||
#include "SMTPCommand.h"
|
||||
#include "Command.h"
|
||||
#include "TCPSession.h"
|
||||
#include "ZString.h"
|
||||
|
||||
namespace mail {
|
||||
|
||||
class __SMTP_RSET : public SMTPCommand {
|
||||
|
||||
int processCommand(coreutils::PString request, SMTPSession &session, std::stringstream &data) {
|
||||
session.state = READY;
|
||||
data << "250 OK" << CRLF;
|
||||
return 0;
|
||||
}
|
||||
|
||||
class __SMTP_RSET : public core::Command {
|
||||
int processCommand(coreutils::ZString &request, core::TCPSession &session) override;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user