Continued work.

This commit is contained in:
Brad Arant committed 2022-12-07 15:00:04 -08:00
1 parent 30cd31c171
commit c9cdc822a2
21 files changed
+1531 -148

No files matched your search

+5 -3
View File
@@ -1,12 +1,14 @@
# include "SMTPSession.h"
# include "Log.h"
namespace mail {
SMTPSession::SMTPSession(core::EPoll &ePoll, core::TCPServer &server)
SMTPSession::SMTPSession(core::EPoll &ePoll, core::TCPServer &server)
: TCPSession(ePoll, server, "SMTP Client Session") {}
void SMTPSession::onConnected() {
coreutils::Log(coreutils::LOG_DEBUG_2) << "onConnected -> sending 220";
out << "220 localhost BMAMail" << CRLF;
}
}