based on reworked servercore.
This commit is contained in:
1 parent
50eb707f10
commit
db3e82a18e
1698 files changed
+41157
-797
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#include "__SMTP_EHLO.h"
|
||||
#include "SMTPServer.h"
|
||||
|
||||
namespace mail {
|
||||
|
||||
int __SMTP_EHLO::processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data) {
|
||||
|
||||
session.clientDomainName = request[1].str();
|
||||
|
||||
data << "250-" << server.hostName << CRLF;
|
||||
// cout << "250-STARTTLS" << CRLF;
|
||||
// cout << "250-PIPELINING" << CRLF;
|
||||
// cout << "250-8BITMIME" << CRLF;
|
||||
data << "250-AUTH LOGIN" << CRLF;
|
||||
data << "250 HELP" << CRLF;
|
||||
session.state = READY;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user