sync
This commit is contained in:
1 parent
37b5a5bf4e
commit
6c844983d9
27 files changed
+230
-272
No files matched your search
+5
-6
@@ -3,12 +3,11 @@
|
||||
|
||||
namespace mail {
|
||||
|
||||
int __SMTP_HELO::processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data) {
|
||||
|
||||
std::string clientName = request[1].str();
|
||||
|
||||
data << "250 " << server.hostName << CRLF;
|
||||
session.state = READY;
|
||||
int __SMTP_HELO::processCommand(coreutils::ZString &request, core::TCPSession &session) {
|
||||
SMTPSession &s = dynamic_cast<SMTPSession &>(session);
|
||||
s.clientName = request[1].str();
|
||||
s.out << "250 " << server.hostName << CRLF;
|
||||
s.state = READY;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user