Description
-
Holds user's state.
Property type
-
An ImapUserStates
enumeration.
Syntax
-
object.State
The State Property syntax has these parts:
object |
An expression evaluating to an object
of type ImapUser. |
Remarks
- This is readonly property that holds current user's
state. User's state will change during connection
lifetime, from StateConnecting to
StateLoggedIn, depending on
user's actions. On each change of user's state,
StateChange
event will be fired so you can inspect this change.
Most of the time value of this property will be StateLoggedIn. In this state user will send
commands to access mail from mailboxes, and it will accept
messages. If you want to extend IMAP server with your
commands, you should check that value of State property is
StateLoggedIn (most of the
time).
|