Added states for state machine implementation of SmtpClient.
This commit is contained in:
parent
24ca613e47
commit
04b7054aa9
@ -54,6 +54,15 @@ public:
|
||||
TlsConnection // STARTTLS
|
||||
};
|
||||
|
||||
enum State {
|
||||
UnconnectedState,
|
||||
ConnectingState,
|
||||
ConnectedState,
|
||||
AuthenticatingState,
|
||||
MailSendingState,
|
||||
DisconnectingState
|
||||
};
|
||||
|
||||
/* [0] --- */
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user