Compilable SMTP
This commit is contained in:
1 parent
6c844983d9
commit
e1f33291f7
70 files changed
+308
-362
No files matched your search
+5
-4
@@ -6,16 +6,17 @@
|
||||
# include "POP3Session.h"
|
||||
|
||||
namespace mail {
|
||||
|
||||
class POP3Server;
|
||||
|
||||
class POP3Command : public core::Command {
|
||||
|
||||
public:
|
||||
virtual int processCommand(std::string request, core::TCPSession *session, std::stringstream &data) override {
|
||||
coreutils::PString parser(request);
|
||||
return processCommand(parser, (POP3Session &)*session, data);
|
||||
virtual int processCommand(coreutils::ZString &request, core::TCPSession &session) override {
|
||||
return processCommand(request, (POP3Session &)session, (POP3Server &)session.server);
|
||||
}
|
||||
|
||||
virtual int processCommand(coreutils::PString request, POP3Session &session, std::stringstream &data) {
|
||||
virtual int processCommand(coreutils::ZString request, POP3Session &session, POP3Server &server) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user