Classes

  Class Description
Public class Attachment
Implements methods for creating an attachment to be added to a multi-part
CopyC#
MimeMessage
.
Public class Base64
Implements methods for encoding and decoding using base64 algorithm.
Public class ByteBuffer
Class for managing an array of bytes.
Public class ByteBufferTokenizer
Class for managing Tokenized ByteBuffer.
Public class CodecFactory
Factory class for looking up a Codec based on it's name.
Public class EmailAddress
Implements basic functionality for parsing and validating the syntax of an email address.
Public class EmailAddressList
Provides methods for parsing a comma delimited list of email addresses.
Public class EmailMessage
Represents an email message.
Public class HtmlEmailMessage
Represents an email message that contains both HTML and plain text parts.

Examples

HtmlEmailMessage message = new HtmlEmailMessage(); message.setTo("jsmith@myserver.com"); message.setFrom("rjones@myserver.com"); message.setSubject("Meeting at 8"); message.setTextBody("this is the text body"); message.setHtmlBody("<html><body><img src=\"cid:12345\"><br>this is the html body</body></html>"); message.embed(new URL("http://www.domain.com/image.gif","12345");
Public class Imap
Implements the basic functionality of a Imap client.
Public class ImapCommandSentEventArgs
Provides data for the CommandSentEvent event.
Public class ImapConnectedEventArgs
Provides data for the ConnectedEvent event.
Public class ImapDataReceivedEventArgs
Provides data for the DataReceivedEvent event.
Public class ImapDisconnectedEventArgs
Provides data for the DisconnectedEvent event.
Public class ImapException
ImapException is thrown by many methods of Imap class. The methods are masking various exception types into ImapException, but the event message will be propagated. In case the cause for throwing ImapException is not exception but invalid client operation or server response, ImapException message will contain textual part of server response.
Public class ImapInputStream
Specialized Imap input stream used for reading data from the IMAP server.
Public class ImapMessage
Represents an email message retrieved from an IMAP server containing additional information such as message flags and message id.
Public class ImapMessageRetrievedEventArgs
Provides data for the MessageRetrievedEvent event.
Public class ImapOutputStream
Specialized Imap output stream used for sending data to the IMAP server.
Public class ImapSsl
Implements the basic functionality of a secure IMAP client using SSL.
Public class ImapUTF7Encoding
Represents a character encoding.
Public class MimeHeader
Implements methods for managing mime headers for use in a
CopyC#
MimeMessage
.
Public class MimeHeaderAttr
Implements methods for managing the attributes of a
CopyC#
MimeHeader
.
Public class MimeMessage
Provides methods for building MIME message content and parsing existing MIME message content into its parts.
Public class Pop
Implements the basic functionality of a POP client.
Public class PopCommandSentEventArgs
Provides data for the CommandSentEvent event.
Public class PopConnectedEventArgs
Provides data for the ConnectedEvent event.
Public class PopDataReceivedEventArgs
Provides data for the DataReceivedEvent event.
Public class PopDisconnectedEventArgs
Provides data for the DisconnectedEvent event.
Public class PopException
PopException is thrown by many methods of Pop class. The methods are masking various exception types into PopException, but the event message will be propagated. In case the cause for throwing PopException is not exception but invalid client operation or server response, PopException message will contain textual part of server response.
Public class PopInputStream
Specialized Pop input stream used for reading data from the POP server.
Public class PopMessageRetrievedEventArgs
Provides data for the MessageRetrievedEvent event.
Public class PopOutputStream
Specialized Pop output stream used fro sending data to the POP server.
Public class PopSsl
Implements the basic functionality of a secure POP3 client using SSL.
Public class QuotedPrintable
Implements methods for encoding and decoding using quoted-printable algorithm.
Public class RFC2047Encoder
Implements methods for encoding and decoding non-ASCII header data in a
CopyC#
MimeMessage
. Encoding and decoding is performed according to standards defined in RFC 2047.
Public class Smtp
Implements the basic functionality of a SMTP client.
Public class SmtpCommandSentEventArgs
Provides data for the CommandSentEvent event.
Public class SmtpConnectedEventArgs
Provides data for the ConnectedEvent event.
Public class SmtpDataReceivedEventArgs
Provides data for the DataReceivedEvent event.
Public class SmtpDisconnectedEventArgs
Provides data for the DisconnectedEvent event.
Public class SmtpException
SmtpException is thrown by many methods of Smtp class. The methods are masking various exception types into SmtpException, but the event message will be propagated. In case the cause for throwing SmtpException is not exception but invalid client operation or server response, SmtpException message will contain textual part of server response.
Public class SmtpInputStream
Specialized Smtp input stream used for reading data from the SMTP server.
Public class SmtpOutputStream
Specialized Smtp output stream used for sending data to the SMTP server.
Public class SmtpSsl
Implements the basic functionality of a secure SMTP client using SSL.
Public class StringTokenizer
A String Tokenizer that accepts Strings as source and delimiter. Only 1 delimiter is supported (either String or char[]).

Interfaces

  Interface Description
Public interface Codec
Defines methods for encoding and decoding of data.
Public interface MimeConstants
Summary description for MimeConstants.

Delegates

  Delegate Description
Public delegate Imap..::..CommandSentEventHandler
Represents the method that will handle the CommandSentEvent event.
Public delegate Imap..::..ConnectedEventHandler
Represents the method that will handle the ConnectedEvent event.
Public delegate Imap..::..DataReceivedEventHandler
Represents the method that will handle the DataReceivedEvent event.
Public delegate Imap..::..DisconnectedEventHandler
Represents the method that will handle the DisconnectedEvent event.
Public delegate Imap..::..MessageRetrievedEventHandler
Represents the method that will handle the MessageRetrievedEvent event.
Public delegate Pop..::..CommandSentEventHandler
Represents the method that will handle the CommandSentEvent event.
Public delegate Pop..::..ConnectedEventHandler
Represents the method that will handle the ConnectedEvent event.
Public delegate Pop..::..DataReceivedEventHandler
Represents the method that will handle the DataReceivedEvent event.
Public delegate Pop..::..DisconnectedEventHandler
Represents the method that will handle the DisconnectedEvent event.
Public delegate Pop..::..MessageRetrievedEventHandler
Represents the method that will handle the MessageRetrievedEvent event.
Public delegate Smtp..::..CommandSentEventHandler
Represents the method that will handle the CommandSentEvent event of Smtp.
Public delegate Smtp..::..ConnectedEventHandler
Represents the method that will handle the ConnectedEvent event of Smtp.
Public delegate Smtp..::..DataReceivedEventHandler
Represents the method that will handle the DataReceivedEvent event of Smtp.
Public delegate Smtp..::..DisconnectedEventHandler
Represents the method that will handle the DisconnectedEvent event of Smtp.

Enumerations

  Enumeration Description
Public enumeration ImapSsl..::..ConnectionType
Specifies the type of security protocol that an instance of the SocketSsl class can use.
Public enumeration PopSsl..::..ConnectionType
Specifies the type of security protocol that an instance of the SocketSsl class can use.
Public enumeration SmtpSsl..::..ConnectionType
Specifies the type of security protocol that an instance of the SocketSsl class can use.