23 lines
428 B
C++
23 lines
428 B
C++
#ifndef __POP3Session_h__
|
|
#define __POP3Session_h__
|
|
|
|
namespace mail {
|
|
|
|
class POP3Session : public core::TCPSession {
|
|
enum AuthState {
|
|
USER_UNKNOWN, USER_QUERY, USER_SECRET_QUERY, USER_KNOWN
|
|
};
|
|
|
|
public:
|
|
std::string clientDomainName;
|
|
std::string userName;
|
|
std::string password;
|
|
AuthState authstate = USER_UNKNOWN;
|
|
bool relay = false;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|