Compilable SMTP

This commit is contained in:
Brad Arant committed 2022-07-08 19:30:00 -07:00
1 parent 6c844983d9
commit e1f33291f7
70 files changed
+308 -362

No files matched your search

+6 -15
View File
@@ -1,20 +1,11 @@
#ifndef ____SMTP_RSET_h__
#define ____SMTP_RSET_h__
#include "SMTPCommand.h"
#include "__SMTP_RSET.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;
}
};
int __SMTP_RSET::processCommand(coreutils::ZString &request, SMTPSession &session, SMTPServer &server) {
session.state = READY;
session.out << "250 OK" << CRLF;
return 1;
}
}
#endif