LumiSoft Net Help
IMAP_Session Class
NamespacesLumiSoft.Net.IMAP.ServerIMAP_Session
This class implements IMAP server session. Defined RFC 3501.
Declaration Syntax
C#Visual BasicVisual C++F#
public class IMAP_Session : TCP_ServerSession
Public Class IMAP_Session
	Inherits TCP_ServerSession
public ref class IMAP_Session : public TCP_ServerSession
type IMAP_Session =  
    class
        inherit TCP_ServerSession
    end
Members
All MembersConstructorsMethodsPropertiesEvents



IconMemberDescription
IMAP_Session()()()()
Default constructor.

Append
Is raised when IMAP session needs to handle APPEND command.

AuthenticatedUserIdentity
Gets authenticated user identity or null if user has not authenticated.
(Overrides TCP_Session.AuthenticatedUserIdentity.)
Authentications
Gets supported SASL authentication methods collection.

BadCommands
Gets number of bad commands happened on IMAP session.

Capabilities
Gets session supported CAPABILITIES.

Certificate
Gets session certificate.
(Inherited from TCP_ServerSession.)
ConnectTime
Gets the time when session was connected.
(Inherited from TCP_ServerSession.)
ConstructBodyStructure(Mail_Message, Boolean)
Constructs FETCH BODY and BODYSTRUCTURE response.

Copy
Is raised when IMAP session needs to handle COPY command.

Create
Is raised when IMAP session needs to handle CREATE command.

Delete
Is raised when IMAP session needs to handle DELETE command.

DeleteAcl
Is raised when IMAP session needs to handle DELETEACL command.

Disconnect()()()()
Disconnects session.
(Inherited from TCP_ServerSession.)
Disconnect(String)
Disconnects session.
(Inherited from TCP_ServerSession.)
Disonnected
This event is raised when session has disconnected and will be disposed soon.
(Inherited from TCP_ServerSession.)
Dispose()()()()
Cleans up any resource being used.
(Overrides TCP_ServerSession.Dispose()()()().)
Disposed
This event is raised when session has disposed.
(Inherited from TCP_ServerSession.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Error
This event is raised when TCP server session has unknown unhandled error.
(Inherited from TCP_ServerSession.)
Expunge
Is raised when IMAP session needs to handle EXPUNGE command.

Fetch
Is raised when IMAP session needs to handle FETCH command.

Finalize()()()()
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetAcl
Is raised when IMAP session needs to handle GETACL command.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMessagesInfo
Is raised when IMAP session needs to get folder messages info.

GetMimeEntity(Mail_Message, String)
Gets specified mime entity. Returns null if specified mime entity doesn't exist.

GetQuota
Is raised when IMAP session needs to handle GETQUOTA command.

GetQuotaRoot
Is raised when IMAP session needs to handle GETQUOTAROOT command.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ID
Gets session ID.
(Inherited from TCP_ServerSession.)
IdleTimeout
This event is raised when session idle(no activity) timeout reached.
(Inherited from TCP_ServerSession.)
IsAuthenticated
Gets if this session is authenticated.
(Inherited from TCP_Session.)
IsConnected
Gets if session is connected.
(Inherited from TCP_ServerSession.)
IsDisposed
Gets if TCP server session is disposed.
(Inherited from TCP_ServerSession.)
IsSecureConnection
Gets if this session TCP connection is secure connection.
(Inherited from TCP_ServerSession.)
LastActivity
Gets the last time when data was sent or received.
(Inherited from TCP_ServerSession.)
List
Is raised when IMAP session needs to handle LIST command.

ListRights
Is raised when IMAP session needs to handle LISTRIGHTS command.

LocalEndPoint
Gets session local IP end point.
(Inherited from TCP_ServerSession.)
LocalHostName
Gets local host name.
(Inherited from TCP_ServerSession.)
LogAddException(Exception)
Logs specified exception.

LogAddRead(Int64, String)
Logs read operation.

LogAddText(String)
Logs specified text.

LogAddWrite(Int64, String)
Logs write operation.

Login
Is raised when IMAP session needs to handle LOGIN command.

LSub
Is raised when IMAP session needs to handle LSUB command.

MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
MyRights
Is raised when IMAP session needs to handle MYRIGHTS command.

Namespace
Is raised when IMAP session needs to handle NAMESPACE command.

OnError(Exception)
Is called when session has processing error.
(Overrides TCP_ServerSession.OnError(Exception).)
OnTimeout()()()()
This method is called when specified session times out.
(Overrides TCP_ServerSession.OnTimeout()()()().)
RemoteEndPoint
Gets session remote IP end point.
(Inherited from TCP_ServerSession.)
Rename
Is raised when IMAP session needs to handle RENAME command.

Search
Is raised when IMAP session needs to handle SEARCH command.

Select
Is raised when IMAP session needs to handle SELECT command.

SelectedFolderName
Gets selected folder name with optional path. Value null means no selected folder.

Server
Gets session owner IMAP server.

SetAcl
Is raised when IMAP session needs to handle SETACL command.

Start()()()()
Starts session processing.
(Overrides TCP_ServerSession.Start()()()().)
Started
Is raised when session has started processing and needs to send "* OK ..." greeting or "* NO ..." error resposne to the connected client.

Store
Is raised when IMAP session needs to handle STORE command.

Subscribe
Is raised when IMAP session needs to handle SUBSCRIBE command.

SwitchToSecure()()()()
Switches session to secure connection.
(Inherited from TCP_ServerSession.)
SwitchToSecureAsync(TCP_ServerSession..::..SwitchToSecureAsyncOP)
Starts switching connection to secure.
(Inherited from TCP_ServerSession.)
Tag
Gets or sets user data.
(Inherited from TCP_ServerSession.)
Tags
Gets user data items collection.
(Inherited from TCP_ServerSession.)
TcpStream
Gets TCP stream which must be used to send/receive data through this session.
(Inherited from TCP_ServerSession.)
ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Unsubscribe
Is raised when IMAP session needs to handle SUBSCRIBE command.

Inheritance Hierarchy

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119