Compilable SMTP
This commit is contained in:
1 parent
6c844983d9
commit
e1f33291f7
70 files changed
+308
-362
No files matched your search
+5
-12
@@ -1,17 +1,10 @@
|
||||
#ifndef ____SMTP_NOOP_h__
|
||||
# define ____SMTP_NOOP_h__
|
||||
|
||||
# include "SMTPSession.h"
|
||||
# include "__SMTP_NOOP.h"
|
||||
# include "ZString.h"
|
||||
|
||||
namespace mail {
|
||||
|
||||
int __SMTP_NOOP::processCommand(coreutils::ZString &request, core::TCPSession &session) {
|
||||
SMTPSession &s = dynamic_cast<SMTPSession &>(session);
|
||||
s.out << "250 OK" << CRLF;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
int __SMTP_NOOP::processCommand(coreutils::ZString &request, SMTPSession &session, SMTPServer &server) {
|
||||
session.out << "250 OK" << CRLF;
|
||||
return 1;
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
Reference in new issue
Block a user