This commit is contained in:
Brad Arant committed 2022-06-29 13:34:49 -07:00
1 parent 37b5a5bf4e
commit 6c844983d9
27 files changed
+230 -272

No files matched your search

+10 -12
View File
@@ -1,22 +1,20 @@
#ifndef ____SMTP_AUTH_h__
# define ____SMTP_AUTH_h__
# include "SMTPCommand.h"
# include "SMTPSession.h"
# include "Command.h"
namespace mail {
class SMTPServer;
class __SMTP_AUTH : public SMTPCommand {
class SMTPServer;
class __SMTP_AUTH : public core::Command {
public:
int processCommand(coreutils::PString request, SMTPSession &session, SMTPServer &server, std::stringstream &data);
bool authLogin(std::string userName, std::string password, SMTPServer &server);
int processCommand(coreutils::ZString &request, core::TCPSession &session) override;
bool authLogin(coreutils::ZString userName, coreutils::ZString password, SMTPServer &server);
};
}
#endif