PowerTCP Mail for .NET
Imap Class Members
Properties  Methods  Events


The following tables list the members exposed by Imap.

Public Constructors
 NameDescription
Public ConstructorImap Constructor Initializes a new instance of the Imap component.  
Top
Public Properties
 NameDescription
Public PropertyCapabilitiesGets a List of strings representing the capabilities of the server. (Inherited from Dart.Mail.MailBase)
Public PropertyCommandCount Gets the count of outstanding commands.  
Public PropertyConnection TCP connection used for server communications.  
Public PropertyContainer (Inherited from System.ComponentModel.Component)
Public PropertyDelimiter Gets the delimiter used to separate mailbox levels.  
Public PropertyEncoding Specifies the character encoding to be used by the component. (Inherited from Dart.Mail.MailBase)
Public PropertyMailboxesGets a MailboxCollection that contains a model of the server mailboxes.  
Public PropertyMailboxNameEncodingGets or sets the encoding used for Mailbox.Name. Defaults to ImapUTF7.  
Public PropertySelectedMailboxGets or sets the selected Mailbox.  
Public PropertyServerGreeting Gets the greeting received after connecting to the server. (Inherited from Dart.Mail.MailBase)
Public PropertySession Specifies connection, authentication and behavior configuration.  
Public PropertySite (Inherited from System.ComponentModel.Component)
Public PropertySynchronizingObject Gets or sets the object used to marshal data to the UI thread (for raising events). (Inherited from Dart.Mail.ComponentBase)
Public PropertySyncRoot Gets an object that is used to synchronize access to the upper layer protocol in use. (Inherited from Dart.Mail.ComponentBase)
Public PropertyTag Gets or sets an object that stores any user data. (Inherited from Dart.Mail.ComponentBase)
Top
Protected Properties
Public Methods
 NameDescription
Public MethodAuthenticateAuthenticate the client using parameters from Imap.Session. Mailboxes will be populated when this method returns.  
Public MethodClose Logout and close the connection.  
Public MethodConnectConnect to an IMAP4 server using parameters specified in Session.  
Public MethodCreateObjRef (Inherited from System.MarshalByRefObject)
Public MethodDisposeOverloaded. Overridden.  Releases all resources associated with the object.  
Public MethodGetAllMailboxes Walks the mailbox tree from the root and returns a flat list of all mailboxes advertised by the server.  
Public Methodstatic (Shared in Visual Basic)GetDefaultPort Returns the port normally used for the supplied MailSession configuration.  
Public MethodGetLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodIdleInforms the server it can send unsolicited mailbox update information. Blocks execution until a command is sent on another thread. The Update event is raised as each update is received.  
Public MethodInitializeLifetimeService (Inherited from System.MarshalByRefObject)
Public MethodInvokeOverloaded.  Send the specified user command.  
Public MethodListOverloaded.  Lists all root subscribed and un-subscribed mailboxes found on the IMAP server.  
Public MethodMarshalOverloaded.  Marshals a string and/or object to the UI thread and raises the UserState event. (Inherited from Dart.Mail.ComponentBase)
Public MethodNoop Send a NOOP command to reset any server session timeout and poll for changes.  
Public MethodSelectCreates a new Mailbox and sets SelectedMailbox to this value.  
Public MethodStart Start a worker thread and execute the specified delegate. (Inherited from Dart.Mail.MailBase)
Public MethodToString (Inherited from System.ComponentModel.Component)
Top
Protected Methods
 NameDescription
Protected MethodFinalize (Inherited from System.ComponentModel.Component)
Protected MethodGetService (Inherited from System.ComponentModel.Component)
Protected MethodMemberwiseCloneOverloaded.  (Inherited from System.MarshalByRefObject)
Protected MethodOnAlertRaises the Alert event.  
Protected MethodOnErrorRaises the Error event. (Inherited from Dart.Mail.ComponentBase)
Protected MethodOnProgressRaises the Progress event.  
Protected MethodOnUpdateRaises the Update event.  
Protected MethodOnUserStateRaises the UserState event. (Inherited from Dart.Mail.ComponentBase)
Top
Public Events
 NameDescription
Public EventAlertRaised when a response from the server contains an alert message.  
Public EventDisposed (Inherited from System.ComponentModel.Component)
Public EventErrorRaised when Marshal(Exception) is used or an unhandled Exception is thrown in a worker thread created using Start. (Inherited from Dart.Mail.ComponentBase)
Public EventProgressRepeatedly raised while a message or message section is retrieved.  
Public EventUpdate Raised when unsolicited data is received from the server.  
Public EventUserStateRaised when Marshal(String,Object) is used. (Inherited from Dart.Mail.ComponentBase)
Top
See Also

Reference

Imap Class
Dart.Mail Namespace


PowerTCP Mail for .NET Documentation Version 4.3
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic