MailBee.NET Objects 3.1

MailBee Namespace

MailBee namespace contains common classes, base classes, interface and enumerations used by all components in MailBee.NET Objects library.

Namespace hierarchy

Classes

Class Description
CommonEventArgs Represents an abstract parent of all event data classes in MailBee.
ConnectedEventArgs Contains the event data for Connected events (such as Smtp.Connected, Pop3.Connected or Imap.Connected).
DataTransferEventArgs Contains the event data for data sending/receiving events (such as Smtp.DataSent, Smtp.DataReceived, Pop3.DataSent, Pop3.DataReceived, Imap.DataSent, Imap.DataReceived).
DisconnectedEventArgs Contains the event data for Disconnected events (such as Smtp.Disconnected, Pop3.Disconnected or Imap.Disconnected).
ErrorCodes Provides error code values returned by ErrorCode property of MailBee exceptions and LastResult property of MailBee classes implementing this property.
ErrorEventArgs Contains the event data for ErrorOccurred events (such as Smtp.ErrorOccurred, Pop3.ErrorOccurred or Imap.ErrorOccurred).
Global Provides properties specifying default values and parameter settings which apply to instances of all MailBee classes.
HostResolvedEventArgs Contains the event data for HostResolved events (such as Smtp.HostResolved, Pop3.HostResolved or Imap.HostResolved).
LogEntry Represents an entry to be added into the log file or memory log buffer.
LoggedInEventArgs Contains the event data for LoggedIn events (such as Smtp.LoggedIn, Pop3.LoggedIn or Imap.LoggedIn).
Logger Provides logging facilities for MailBee components such as Smtp, Pop3, and Imap.
LogNewEntryEventArgs Contains the event data for LogNewEntry events (such as Smtp.LogNewEntry, Pop3.LogNewEntry or Imap.LogNewEntry).
MailBeeAbortedByRemoteHostException The exception that is thrown when the remote host suddenly closes the connection.
MailBeeBatchException The exception that is thrown when certain job in a batch of scheduled jobs fails and the component is configured to cancel processing in this case.
MailBeeConnectionException An abstract parent for all connection-level exceptions which indicate the connection cannot be used any longer and must be immediately closed.
MailBeeDateParsingException The exception that is thrown when an unexpected error occurs during converting a string into DateTime.
MailBeeEmailProtocolException An abstract parent for all exceptions which indicate that an e-mail protocol (such as POP3, IMAP4 or SMTP) error has occurred.
MailBeeEmailProtocolNegativeResponseException An abstract parent for all exceptions which indicate that the mail server returned negative response, and the response data is available in text (i.e. string) form.
MailBeeException An abstract parent for all exceptions which can be thrown by MailBee library.
MailBeeExternalException The exception that is thrown when an error occurs in the code outside MailBee.
MailBeeGetHostNameException An abstract parent for all exceptions that are thrown if an attempt to resolve a host name through the call of a method of Dns class failed.
MailBeeGetLocalHostNameException The exception that is thrown if an attempt to get the local host name through the call of Dns class methods failed.
MailBeeGetRemoteHostNameException The exception that is thrown if an attempt to resolve the remote host name through the call of Dns class methods failed.
MailBeeInternalException The exception that is thrown when an unexpected error occurs in MailBee code.
MailBeeInvalidArgumentException The exception that is thrown when an invalid argument value is passed to a method or property.
MailBeeInvalidResponseException An abstract parent for all exceptions which indicate that a response received from the server cannot be parsed.
MailBeeInvalidStateException The exception that is thrown when the requested operation cannot be performed in the current state.
MailBeeInvalidTextResponseException The exception that is thrown when the text response received from the server cannot be parsed, and the response data is available.
MailBeeInvalidTextResponseItemException The exception that is thrown when a particular element of the text response received from the server cannot be parsed, and the response data is available.
MailBeeIOException The exception that is thrown when the IO operation with file or folder throws one of the following exceptions: IOException, UnauthorizedAccessException, FileNotFoundException, or XmlException.
MailBeeLicenseException The exception that is thrown during instantiation of a MailBee component or calling a static (Shared in Visual Basic) method of a component in the case when no valid license has been assigned to the component.
MailBeeLocalException The exception that is thrown when an error occurs due to user actions or problems with accessing local (not network) resources.
MailBeeLoginNoCredentialsException The exception that is thrown when the authentication process cannot proceed, because no account name and/or password was provided by the application.
MailBeeLoginNoSupportedMethodsException The exception that is thrown when the authentication process cannot proceed, because no authentication methods allowed by the application for authentication are supported by the server.
MailBeeLoginNotPossibleException An abstract parent for all exceptions which indicate that the authentication process cannot proceed under current conditions.
MailBeeLoginWin32Exception The exception that is thrown when underlying Win32 Schannel implementation of Windows Integrated authentication returns an error.
MailBeeNetworkException An abstract parent for all exceptions that are thrown when network errors occur.
MailBeeNoIP4HostFoundException The exception that is thrown if no IPv4-compatible IP address was found for the given IPHostEntry during the connecting to the remote host.
MailBeeProtocolException An abstract parent for all exceptions which indicate that an application-level protocol error has occurred.
MailBeeProtocolExtensionNotSupportedException The exception that is thrown when the mail server does not support certain extension (capability) which is required for the current operation to complete successfully.
MailBeeRemoteHostException An abstract parent for all exceptions which occur when MailBee attempts to establish connection or send/receive data to/from the server at the given IP address and port number.
MailBeeSocketAbortedException The exception that is thrown when underlying socket operation receives abort request from the software on the local machine and throws SocketException.
MailBeeSocketException The exception that is thrown when underlying socket operation throws SocketException.
MailBeeSocketHostDownException The exception that is thrown when underlying socket operation detects a dead host and throws SocketException.
MailBeeSocketHostNotFoundException The exception that is thrown when underlying socket operation detects an unknown host and throws SocketException.
MailBeeSocketHostUnreachableException The exception that is thrown when underlying socket operation detects there is no known route to the host and throws SocketException.
MailBeeSocketObjectDisposedException The exception that is thrown when underlying socket operation unexpectedly throws ObjectDisposedException.
MailBeeSocketRefusedException The exception that is thrown when underlying socket operation detects the remote machine refused the connection (which usually means no server program is running on the remote host) and throws SocketException.
MailBeeSocketResetException The exception that is thrown when the connection was forcibly closed by the remote host so that underlying socket implementation throws SocketException.
MailBeeSocketTimeoutException The exception that is thrown when underlying socket operation encounters a timeout and throws SocketException.
MailBeeStreamException The exception that is thrown when the operation with data stream throws IOException.
MailBeeSystemSettingsException The exception that is thrown when an attempt to request certain information from the system failed.
MailBeeUserAbortException The exception that is thrown after Abort method of MailBee component has been called.
MailBeeWebException The exception that is thrown when underlying network operation throws the WebException.
Resources Provides localization and text customization framework for MailBee library.
SaslMethod Provides a framework for developing custom SASL authentication mechanisms.
SocketConnectedEventArgs Contains the event data for SocketConnected events (such as Smtp.SocketConnected, Pop3.SocketConnected or Imap.SocketConnected).
SortableByPriorityCollection Represents an abstract parent for all MailBee collections sorted by Priority value of their elements.
TlsStartedEventArgs Contains the event data for TlsStarted events (such as Smtp.TlsStarted, Pop3.TlsStarted or Imap.TlsStarted).

Interfaces

Interface Description
IMailBeeFatalException When implemented by an exception class, indicates the exception is fatal and the component is no longer usable in the current state, so that any active tasks must be finished as soon as possible.
IMailBeeLoginBadCredentialsException When implemented by an exception class, indicates the authentication failed due to use of incorrect account name and/or password.
IMailBeeLoginBadMethodException When implemented by an exception class, indicates the server returned negative response during the authentication process because the requested authentication method is not available.
IMailBeeLoginException When implemented by an exception class, indicates the login process failed, and the application should try to authenticate using either another account name and password or another authentication method.
IMailBeeLoginNegativeResponseException When implemented by an exception class, indicates the server returned negative response during the authentication process, and the response data is available in text (i.e. string) form.
IMailBeeNegativeResponseException When implemented by an exception class, indicates the server returned negative response, and the response data is available.
IMailBeeNegativeTextResponseException When implemented by an exception class, indicates the server returned negative response, and the response data is available in text (i.e. string) form.
IMailBeeSocketMustCloseException When implemented by an exception class, indicates the network exception is connection level (not application protocol level), so that the connection is no longer valid and will be closed.
IMailBeeWin32Exception When implemented by an exception class, indicates that this exception is thrown when underlying Win32 function returns an error.

Delegates

Delegate Description
ConnectedEventHandler Represents the method that will handle Connected events (such as Smtp.Connected, Pop3.Connected or Imap.Connected).
DataTransferEventHandler Represents the method that will handle events which occur on sending or receiving data to/from the server (such as Smtp.DataSent, Smtp.DataReceived, Pop3.DataSent, Pop3.DataReceived, Imap.DataSent, Imap.DataReceived).
DisconnectedEventHandler Represents the method that will handle Disconnected events (such as Smtp.Disconnected, Pop3.Disconnected or Imap.Disconnected).
ErrorEventHandler Represents the method that will handle ErrorOccurred events (such as Smtp.ErrorOccurred, Pop3.ErrorOccurred or Imap.ErrorOccurred).
HostResolvedEventHandler Represents the method that will handle HostResolved events (such as Smtp.HostResolved, Pop3.HostResolved or Imap.HostResolved).
LoggedInEventHandler Represents the method that will handle LoggedIn events (such as Smtp.LoggedIn, Pop3.LoggedIn or Imap.LoggedIn).
LogNewEntryEventHandler Represents the method that will handle LogNewEntry events (such as Smtp.LogNewEntry, Pop3.LogNewEntry or Imap.LogNewEntry).
SocketConnectedEventHandler Represents the method that will handle SocketConnected events (such as Smtp.SocketConnected, Pop3.SocketConnected or Imap.SocketConnected).
TlsStartedEventHandler Represents the method that will handle TlsStarted events (such as Smtp.TlsStarted, Pop3.TlsStarted or Imap.TlsStarted).

Enumerations

Enumeration Description
AuthenticationMethods Provides authentication methods to be used for logging in the user account on the server.
AuthenticationOptions Provides flags for tuning the authentication process.
LogFormatOptions Provides flags which can be used to change formatting of log messages produced by MailBee.
LogMessageType Specifies the type of the log entry.
TopLevelProtocolType Defines types of MailBee main protocols.