All Classes and Interfaces

Class
Description
 
The interface that enables challenge-response communication necessary for SMTP AUTH.
The factory interface for creating authentication handlers.
Indicates that the server either does not support authentication at all or no authentication mechanism exists which is supported by both the server and the client.
An Authenticator is called by SmartClient after the initial EHLO command and negotiates the authentication of the user for example by issuing the SMTP AUTH command to the server.
A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance with RFC 2045.

On Windows XP sp1 with 1.4.2_04 and later ;), this encoder and decoder is about 10 times faster on small arrays (10 - 1000 bytes) and 2-3 times as fast on larger arrays (10000 - 1000000 bytes) compared to sun.misc.Encoder()/Decoder().

On byte arrays the encoder is about 20% faster than Jakarta Commons Base64 Codec for encode and about 50% faster for decoding large arrays.
 
Describes a SMTP command
 
This class manages execution of a SMTP command.
Enumerates all the Commands made available in this release.
A Filter for use with SMTP or other protocols in which lines must end with CRLF.
A Reader for use with SMTP or other protocols in which lines must end with CRLF.
 
This works like a ByteArrayOutputStream until a certain size is reached, then creates a temp file and acts like a buffered FileOutputStream.
An InputStream class that terminates the stream when it encounters a US-ASCII encoded dot CR LF byte sequence immediately following a CR LF line end.
DotTerminatedOutputStream makes possible to end mail data with a "CRLF .
Removes the dot-stuffing happening during the NNTP and SMTP message transfer
A type of RejectException that additionally causes the server to close the connection to the client.
This a convenient class that saves you setting up the factories that we know about; you can always add more afterwards.
 
 
 
Adds extra dot if dot occurs in message body at beginning of line (according to RFC1939) Compare also org.apache.james.smtpserver.SMTPInputStream
 
Provides a help system for people to interact with.
 
 
Implements the SMTP AUTH LOGIN mechanism.
You are only required to plug your UsernamePasswordValidator implementation for username and password validation to take effect.
Exception expected to be thrown by a validator (i.e UsernamePasswordValidator)
 
Interface which provides context to the message handlers.
The interface that defines the conversational exchange of a single message on an SMTP connection.
The primary interface to be implemented by clients of the SMTP library.
This handler combines the behavior of several other authentication handler factories.
 
Implements the SMTP AUTH PLAIN mechanism.
You are only required to plug your UsernamePasswordValidator implementation for username and password validation to take effect.
PlainAuthenticator implements the SASL PLAIN mechanism which authenticates the client using a name - password combination.
 
 
Prepends a Received: header at the beginning of the input stream.
Thrown to reject an SMTP command with a specific code.
Thin wrapper around any command to make sure authentication has been performed.
Verifies the presence of a TLS connection if TLS is required.
 
The thread that handles a connection.
SessionIdFactory creates reasonable unique identifiers which are applicable to identify a session in the log files.
This is an interface for processing the end-result messages that is higher-level than the MessageHandler and related factory.
MessageHandlerFactory implementation which adapts to a collection of MessageListeners.
A somewhat smarter abstraction of an SMTP client which doesn't require knowing anything about the nitty gritty of SMTP.
This is an interface for processing the end-result messages that is higher-level than the MessageHandler and related factory but lower-level than SimpleMessageListener.
Interface which accepts delivery of a message.
MessageHandlerFactory implementation which adapts to a collection of SmarterMessageListeners.
A very low level abstraction of the STMP stream which knows how to handle the raw protocol for lines, whitespace, etc.
Result of an SMTP exchange.
Thrown if a syntactically valid reply was received from the server, which indicates an error via the status code.
Main SMTPServer class.
 
 
This is an OutputStream wrapper which takes notice when a threshold (number of bytes) is about to be written.
TimeBasedSessionIdFactory is a very simple SessionIdFactory, which assigns numeric identifiers based on the current milliseconds time, amending it as necessary to make it unique.
Thrown by message listeners if an input stream provides more data than the listener can handle.
 
Use this when your authentication scheme uses a username and a password.
 
Provides version information from the manifest.
Wiser is a tool for unit testing applications that send mail.
This class wraps a received message and provides a way to generate a JavaMail MimeMessage from the data.