Compilable SMTP

This commit is contained in:
Brad Arant committed 2022-07-08 19:30:00 -07:00
1 parent 6c844983d9
commit e1f33291f7
70 files changed
+308 -362

No files matched your search

+5 -7
View File
@@ -1,18 +1,16 @@
#ifndef ____SMTP_AUTH_h__
# define ____SMTP_AUTH_h__
# include "Command.h"
# include "SMTPCommand.h"
namespace mail {
class SMTPServer;
class __SMTP_AUTH : public core::Command {
class __SMTP_AUTH : public SMTPCommand {
public:
int processCommand(coreutils::ZString &request, core::TCPSession &session) override;
bool authLogin(coreutils::ZString userName, coreutils::ZString password, SMTPServer &server);
int processCommand(coreutils::ZString &request, SMTPSession &session, SMTPServer &server) override;
bool authLogin(coreutils::ZString userName, coreutils::ZString password);
};
}