BARANTMail/POP3Session.h

23 lines
428 B
C
Raw Normal View History

2020-02-29 19:25:13 -08:00
#ifndef __POP3Session_h__
#define __POP3Session_h__
namespace mail {
class POP3Session : public core::TCPSession {
2022-07-26 16:05:55 -07:00
enum AuthState {
USER_UNKNOWN, USER_QUERY, USER_SECRET_QUERY, USER_KNOWN
};
2020-02-29 19:25:13 -08:00
public:
std::string clientDomainName;
std::string userName;
std::string password;
AuthState authstate = USER_UNKNOWN;
2022-07-08 19:30:00 -07:00
bool relay = false;
2020-02-29 19:25:13 -08:00
};
}
#endif