sync
This commit is contained in:
1 parent
37b5a5bf4e
commit
6c844983d9
27 files changed
+230
-272
No files matched your search
+6
-3
@@ -1,11 +1,14 @@
|
||||
#include "__SMTP_EXPN.h"
|
||||
#include "SMTPServer.h"
|
||||
|
||||
#define CRLF "\r\n"
|
||||
|
||||
namespace mail {
|
||||
|
||||
int __SMTP_EXPN::processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data) {
|
||||
data << "252 You must know recipient." << CRLF;
|
||||
session.state = READY;
|
||||
int __SMTP_EXPN::processCommand(coreutils::ZString &request, core::TCPSession &session) {
|
||||
SMTPSession &s = dynamic_cast<SMTPSession &>(session);
|
||||
s.out << "252 You must know recipient." << CRLF;
|
||||
s.state = READY;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user