- data(InputStream) - Method in class org.subethamail.smtp.helper.BasicMessageHandlerFactory.BasicMessageHandler
-
- data(InputStream) - Method in interface org.subethamail.smtp.MessageHandler
-
Called when the DATA part of the SMTP exchange begins.
- DataCommand - Class in org.subethamail.smtp.internal.command
-
- DataCommand() - Constructor for class org.subethamail.smtp.internal.command.DataCommand
-
- dataEnd() - Method in class org.subethamail.smtp.client.SmartClient
-
Last step after writing data
- dataStart() - Method in class org.subethamail.smtp.client.SmartClient
-
Prelude to writing data
- dataWrite(byte[], int) - Method in class org.subethamail.smtp.client.SmartClient
-
Actually write some data
- dataWrite(byte[]) - Method in class org.subethamail.smtp.client.SmartClient
-
- DEFAULT_CODE - Static variable in exception org.subethamail.smtp.RejectException
-
- DEFAULT_MESSAGE - Static variable in exception org.subethamail.smtp.RejectException
-
- DEFAULT_PORT - Static variable in class org.subethamail.smtp.examples.BasicSMTPServer
-
- DeferredFileOutputStream - Class in org.subethamail.smtp.internal.io
-
This works like a ByteArrayOutputStream until a certain size is
reached, then creates a temp file and acts like a buffered
FileOutputStream.
- DeferredFileOutputStream(int) - Constructor for class org.subethamail.smtp.internal.io.DeferredFileOutputStream
-
- deliver(String, String, InputStream) - Method in interface org.subethamail.smtp.helper.SimpleMessageListener
-
When message data arrives, this method will be called for every recipient
this listener accepted.
- deliver(InputStream) - Method in interface org.subethamail.smtp.helper.SmarterMessageListener.Receiver
-
When message data arrives, this method will be called for every recipient
this listener accepted.
- deliver(String, String, InputStream) - Method in class org.subethamail.wiser.Wiser
-
Cache the messages in memory
- done() - Method in class org.subethamail.smtp.helper.BasicMessageHandlerFactory.BasicMessageHandler
-
- done() - Method in interface org.subethamail.smtp.helper.SmarterMessageListener.Receiver
-
Called at the end of the SMTP exchange, even if no data was delivered.
- done() - Method in interface org.subethamail.smtp.MessageHandler
-
Called after all other methods are completed.
- DotTerminatedInputStream - Class in org.subethamail.smtp.internal.io
-
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.
- DotTerminatedInputStream(InputStream) - Constructor for class org.subethamail.smtp.internal.io.DotTerminatedInputStream
-
A constructor for this object that takes a stream to be wrapped and a
terminating character sequence.
- DotTerminatedOutputStream - Class in org.subethamail.smtp.internal.io
-
DotTerminatedOutputStream makes possible to end mail data with a
"CRLF .
- DotTerminatedOutputStream(OutputStream) - Constructor for class org.subethamail.smtp.internal.io.DotTerminatedOutputStream
-
- DotUnstuffingInputStream - Class in org.subethamail.smtp.internal.io
-
Removes the dot-stuffing happening during the NNTP and SMTP message
transfer
- DotUnstuffingInputStream(InputStream) - Constructor for class org.subethamail.smtp.internal.io.DotUnstuffingInputStream
-
- DropConnectionException - Exception in org.subethamail.smtp
-
A type of RejectException that additionally causes the server to close
the connection to the client.
- DropConnectionException() - Constructor for exception org.subethamail.smtp.DropConnectionException
-
- DropConnectionException(String) - Constructor for exception org.subethamail.smtp.DropConnectionException
-
- DropConnectionException(int, String) - Constructor for exception org.subethamail.smtp.DropConnectionException
-
- dumpMessage(PrintStream) - Method in class org.subethamail.wiser.WiserMessage
-
Dumps the rough contents of the message for debugging purposes
- dumpMessages(PrintStream) - Method in class org.subethamail.wiser.Wiser
-
For debugging purposes, dumps a rough outline of the messages to the
output stream.
- getArgPredicate(String) - Method in class org.subethamail.smtp.internal.server.BaseCommand
-
- getArgs(String) - Static method in class org.subethamail.smtp.internal.server.BaseCommand
-
- getAsciiBytes(String) - Static method in class org.subethamail.smtp.internal.util.TextUtils
-
- getAuthenticationHandler() - Method in interface org.subethamail.smtp.MessageContext
-
- getAuthenticationHandler() - Method in class org.subethamail.smtp.server.Session
-
- getAuthenticationHandlerFactory() - Method in class org.subethamail.smtp.server.SMTPServer
-
Returns the factor for authentication handling.
- getAuthenticationMechanisms() - Method in class org.subethamail.smtp.auth.LoginAuthenticationHandlerFactory
-
- getAuthenticationMechanisms() - Method in class org.subethamail.smtp.auth.MultipleAuthenticationHandlerFactory
-
- getAuthenticationMechanisms() - Method in class org.subethamail.smtp.auth.PlainAuthenticationHandlerFactory
-
- getAuthenticationMechanisms() - Method in interface org.subethamail.smtp.AuthenticationHandlerFactory
-
If your handler supports RFC 2554 at some degree, then it must return all the supported mechanisms here.
- getAuthenticator() - Method in class org.subethamail.smtp.client.SmartClient
-
Returns the Authenticator object, which is used to authenticate this
client to the server, or null, if no authentication is required.
- getBacklog() - Method in class org.subethamail.smtp.server.SMTPServer
-
The backlog is the Socket backlog.
- getBaseStream() - Method in class org.subethamail.smtp.internal.io.DotUnstuffingInputStream
-
Provide access to the base input stream.
- getBindAddress() - Method in class org.subethamail.smtp.server.SMTPServer
-
empty means all interfaces
- getBytes(String, String) - Static method in class org.subethamail.smtp.internal.util.TextUtils
-
- getCode() - Method in class org.subethamail.smtp.client.SMTPClient.Response
-
- getCode() - Method in exception org.subethamail.smtp.RejectException
-
- getCommand(String) - Method in class org.subethamail.smtp.internal.server.CommandHandler
-
Returns the command object corresponding to the specified command name.
- getCommand() - Method in enum org.subethamail.smtp.internal.server.CommandRegistry
-
- getCommandHandler() - Method in class org.subethamail.smtp.server.SMTPServer
-
The CommandHandler manages handling the SMTP commands such as QUIT, MAIL,
RCPT, DATA, etc.
- getConnectionTimeout() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getData() - Method in class org.subethamail.wiser.WiserMessage
-
Get's the raw message DATA.
- getDeclaredMessageSize() - Method in class org.subethamail.smtp.server.Session
-
- getDisableReceivedHeaders() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getDisplayableLocalSocketAddress() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getEnableTLS() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getEnvelopeReceiver() - Method in class org.subethamail.wiser.WiserMessage
-
Get's the RCPT TO:
- getEnvelopeSender() - Method in class org.subethamail.wiser.WiserMessage
-
Get's the MAIL FROM:
- getErrorResponse() - Method in exception org.subethamail.smtp.RejectException
-
- getExecutorService() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getExtensions() - Method in class org.subethamail.smtp.client.SmartClient
-
Returns the SMTP extensions supported by the server.
- getFormattedTopicList(SMTPServer) - Method in class org.subethamail.smtp.internal.command.HelpCommand
-
- getHelo() - Method in interface org.subethamail.smtp.MessageContext
-
- getHelo() - Method in class org.subethamail.smtp.server.Session
-
Simple state
- getHeloHost() - Method in class org.subethamail.smtp.client.SmartClient
-
Returns the HELO name of this system.
- getHelp() - Method in class org.subethamail.smtp.internal.server.BaseCommand
-
- getHelp() - Method in interface org.subethamail.smtp.internal.server.Command
-
- getHelp(String) - Method in class org.subethamail.smtp.internal.server.CommandHandler
-
- getHelp() - Method in class org.subethamail.smtp.internal.server.RequireAuthCommandWrapper
- getHelp() - Method in class org.subethamail.smtp.internal.server.RequireTLSCommandWrapper
-
- getHideTLS() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getHostName() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getHostPort() - Method in class org.subethamail.smtp.client.SMTPClient
-
- getIdentity() - Method in interface org.subethamail.smtp.AuthenticationHandler
-
If the authentication process was successful, this returns the identity
of the user.
- getImplementation() - Static method in class org.subethamail.smtp.Version
-
- getInputStream() - Method in class org.subethamail.smtp.internal.io.DeferredFileOutputStream
-
Closes the output stream and creates an InputStream on the same data.
- getLocalSocketAddress() - Method in class org.subethamail.smtp.client.SMTPClient
-
Returns the local socket address.
- getMaxConnections() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getMaxMessageSize() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getMaxRecipients() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getMessage() - Method in class org.subethamail.smtp.client.SMTPClient.Response
-
- getMessageHandler() - Method in class org.subethamail.smtp.server.Session
-
- getMessageHandlerFactory() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getMessages() - Method in class org.subethamail.wiser.Wiser
-
Returns the list of WiserMessages.
- getMimeMessage() - Method in class org.subethamail.wiser.WiserMessage
-
Generate a JavaMail MimeMessage.
- getName() - Method in class org.subethamail.smtp.internal.server.BaseCommand
-
- getName() - Method in interface org.subethamail.smtp.internal.server.Command
-
Returns the name of the command in upper case.
- getName() - Method in class org.subethamail.smtp.internal.server.HelpMessage
-
- getName() - Method in class org.subethamail.smtp.internal.server.RequireAuthCommandWrapper
-
Returns the name of the command in upper case.
- getName() - Method in class org.subethamail.smtp.internal.server.RequireTLSCommandWrapper
-
- getNumberOfConnections() - Method in class org.subethamail.smtp.internal.server.ServerThread
-
- getPort() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getPortAllocated() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getProxiedAddress() - Method in class org.subethamail.smtp.internal.proxy.ProxyHandler.ProxyResult
-
- getRawInput() - Method in class org.subethamail.smtp.server.Session
-
- getReader() - Method in class org.subethamail.smtp.server.Session
-
- getRealRemoteAddress() - Method in class org.subethamail.smtp.server.Session
-
Returns the real connection remote address as seen by socket.
- getRecipientCount() - Method in class org.subethamail.smtp.client.SmartClient
-
- getRecipientCount() - Method in class org.subethamail.smtp.server.Session
-
- getRemoteAddress() - Method in interface org.subethamail.smtp.MessageContext
-
- getRemoteAddress() - Method in class org.subethamail.smtp.server.Session
-
- getRequireAuth() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getRequireTLS() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getResponse() - Method in exception org.subethamail.smtp.client.SMTPException
-
- getServer() - Method in class org.subethamail.smtp.server.Session
-
- getServer() - Method in class org.subethamail.wiser.Wiser
-
- getServerThreadName() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getSessionHandler() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getSessionId() - Method in interface org.subethamail.smtp.MessageContext
-
Returns the unique id of the session associated with this message.
- getSessionId() - Method in class org.subethamail.smtp.server.Session
-
Returns an identifier of the session which is reasonably unique within an
extended time period.
- getSessionIdFactory() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getShowAuthCapabilitiesBeforeSTARTTLS() - Method in class org.subethamail.smtp.server.SMTPServer
-
- getSingleRecipient() - Method in class org.subethamail.smtp.server.Session
-
Returns the first accepted recipient if there is exactly one accepted
recipient, otherwise it returns null.
- getSMTPServer() - Method in interface org.subethamail.smtp.MessageContext
-
- getSMTPServer() - Method in class org.subethamail.smtp.server.Session
-
- getSocket() - Method in class org.subethamail.smtp.server.Session
-
This method is only used by the start tls command
- getSoftwareName() - Method in class org.subethamail.smtp.server.SMTPServer
-
The string reported to the public as the software running here.
- getSpecification() - Static method in class org.subethamail.smtp.Version
-
- getStringUtf8(byte[]) - Static method in class org.subethamail.smtp.internal.util.TextUtils
-
Converts the specified bytes to String using UTF-8 encoding.
- getTlsPeerCertificates() - Method in interface org.subethamail.smtp.MessageContext
-
- getTlsPeerCertificates() - Method in class org.subethamail.smtp.server.Session
-
- getValidator() - Method in class org.subethamail.smtp.auth.EasyAuthenticationHandlerFactory
-
- getVerbs() - Method in class org.subethamail.smtp.internal.server.CommandHandler
-
- read() - Method in class org.subethamail.smtp.internal.io.BdatInputStream
-
- read() - Method in class org.subethamail.smtp.internal.io.CRLFTerminatedReader
-
- read(char[], int, int) - Method in class org.subethamail.smtp.internal.io.CRLFTerminatedReader
-
- read() - Method in class org.subethamail.smtp.internal.io.DotTerminatedInputStream
-
- read() - Method in class org.subethamail.smtp.internal.io.DotUnstuffingInputStream
-
Read through the stream, checking for '\r\n.'
- read(byte[], int, int) - Method in class org.subethamail.smtp.internal.io.DotUnstuffingInputStream
-
Read through the stream, checking for '\r\n.'
- read() - Method in class org.subethamail.smtp.internal.io.ReceivedHeaderStream
-
- read(byte[], int, int) - Method in class org.subethamail.smtp.internal.io.ReceivedHeaderStream
-
- read(byte[]) - Method in class org.subethamail.smtp.internal.io.ReceivedHeaderStream
-
- read(char[], int, int) - Method in class org.subethamail.smtp.internal.io.Utf8InputStreamReader
-
- read() - Method in class org.subethamail.smtp.internal.io.Utf8InputStreamReader
-
- readLine() - Method in class org.subethamail.smtp.internal.io.CRLFTerminatedReader
-
Read a line of text which is terminated by CRLF.
- ready() - Method in class org.subethamail.smtp.internal.io.CRLFTerminatedReader
-
- ReceiptCommand - Class in org.subethamail.smtp.internal.command
-
- ReceiptCommand() - Constructor for class org.subethamail.smtp.internal.command.ReceiptCommand
-
- receive() - Method in class org.subethamail.smtp.client.SmartClient
-
Returns the server response.
- receive() - Method in class org.subethamail.smtp.client.SMTPClient
-
Note that the response text comes back without trailing newlines.
- RECEIVE_AND_CHECK_PAUSE_MS - Static variable in class org.subethamail.smtp.client.SMTPClient
-
This field is temporary only till SmartClient builder is created.
- receiveAndCheck() - Method in class org.subethamail.smtp.client.SMTPClient
-
If response is not success, throw an exception
- ReceivedHeaderStream - Class in org.subethamail.smtp.internal.io
-
Prepends a Received: header at the beginning of the input stream.
- ReceivedHeaderStream(InputStream, Optional<String>, InetAddress, String, Optional<String>, String, Optional<String>) - Constructor for class org.subethamail.smtp.internal.io.ReceivedHeaderStream
-
- recipient(String) - Method in class org.subethamail.smtp.helper.BasicMessageHandlerFactory.BasicMessageHandler
-
- recipient(String) - Method in interface org.subethamail.smtp.MessageHandler
-
Called once for every RCPT TO during a SMTP exchange.
- RejectException - Exception in org.subethamail.smtp
-
Thrown to reject an SMTP command with a specific code.
- RejectException() - Constructor for exception org.subethamail.smtp.RejectException
-
- RejectException(String) - Constructor for exception org.subethamail.smtp.RejectException
-
- RejectException(int, String) - Constructor for exception org.subethamail.smtp.RejectException
-
- requireAuth(boolean) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
Sets whether authentication is required.
- requireAuth() - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- RequireAuthCommandWrapper - Class in org.subethamail.smtp.internal.server
-
Thin wrapper around any command to make sure authentication
has been performed.
- RequireAuthCommandWrapper(Command) - Constructor for class org.subethamail.smtp.internal.server.RequireAuthCommandWrapper
-
- requireTLS(boolean) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- requireTLS() - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- RequireTLSCommandWrapper - Class in org.subethamail.smtp.internal.server
-
Verifies the presence of a TLS connection if TLS is required.
- RequireTLSCommandWrapper(Command) - Constructor for class org.subethamail.smtp.internal.server.RequireTLSCommandWrapper
-
- reset() - Method in class org.subethamail.smtp.internal.io.ReceivedHeaderStream
-
- ResetCommand - Class in org.subethamail.smtp.internal.command
-
- ResetCommand() - Constructor for class org.subethamail.smtp.internal.command.ResetCommand
-
- resetMailTransaction() - Method in class org.subethamail.smtp.server.Session
-
Stops the mail transaction if it in progress and resets all state related
to mail transactions.
- resetSmtpProtocol() - Method in class org.subethamail.smtp.server.Session
-
Reset the SMTP protocol to the initial state, which is the state after a
server issues a 220 service ready greeting.
- Response(int, String) - Constructor for class org.subethamail.smtp.client.SMTPClient.Response
-
- run() - Method in class org.subethamail.smtp.internal.server.ServerThread
-
This method is called by this thread when it starts up.
- run() - Method in class org.subethamail.smtp.server.Session
-
The thread for each session runs on this and shuts down when the quitting
member goes true.
- send(String) - Method in class org.subethamail.smtp.client.SMTPClient
-
Sends a message to the server, ie "HELO foo.example.com".
- sendAndCheck(String) - Method in class org.subethamail.smtp.client.SmartClient
-
- sendAndCheck(String) - Method in class org.subethamail.smtp.client.SMTPClient
-
If response is not success, throw an exception
- sendHeloOrEhlo() - Method in class org.subethamail.smtp.client.SmartClient
-
Sends the EHLO command, or HELO if EHLO is not supported, and saves the
list of SMTP extensions which are supported by the server.
- sendReceive(String) - Method in class org.subethamail.smtp.client.SMTPClient
-
Sends a message to the server, ie "HELO foo.example.com".
- sendResponse(String) - Method in class org.subethamail.smtp.server.Session
-
Sends the response to the client
- server(SMTPServer.Builder) - Method in class org.subethamail.wiser.Wiser.WiserBuilder
-
- ServerSocketCreator - Interface in org.subethamail.smtp.server
-
- serverSocketFactory(ServerSocketCreator) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- serverSocketFactory(SSLServerSocketFactory) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- serverSocketFactory(SSLContext) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- ServerThread - Class in org.subethamail.smtp.internal.server
-
ServerThread accepts TCP connections to the server socket and starts a new
Session thread for each connection which will handle the connection.
- ServerThread(SMTPServer, ServerSocket, ProxyHandler) - Constructor for class org.subethamail.smtp.internal.server.ServerThread
-
- serverThreadName(String) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
Sets the server thead name.
- serverThreadNameProvider(Function<SMTPServer, String>) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- Session - Class in org.subethamail.smtp.server
-
The thread that handles a connection.
- Session(SMTPServer, ServerThread, Socket, ProxyHandler) - Constructor for class org.subethamail.smtp.server.Session
-
Creates the Runnable Session object.
- sessionEnded(Session) - Method in class org.subethamail.smtp.internal.server.ServerThread
-
Registers that the specified
Session thread ended.
- SessionHandler - Interface in org.subethamail.smtp.server
-
Handler of session lifecycle events.
- sessionHandler(SessionHandler) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
Sets the
SessionHandler which will track allocated session and connections.
- SessionHandler.SessionAcceptance - Class in org.subethamail.smtp.server
-
- SessionIdFactory - Interface in org.subethamail.smtp.server
-
SessionIdFactory creates reasonable unique identifiers which are applicable
to identify a session in the log files.
- sessionIdFactory(SessionIdFactory) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
Sets the
SessionIdFactory which will allocate a unique identifier for
each mail sessions.
- setAuthenticationHandler(AuthenticationHandler) - Method in class org.subethamail.smtp.server.Session
-
This is called by the AuthCommand when a session is successfully
authenticated.
- setDeclaredMessageSize(int) - Method in class org.subethamail.smtp.server.Session
-
- setHelo(String) - Method in class org.subethamail.smtp.server.Session
-
- setSocket(Socket) - Method in class org.subethamail.smtp.server.Session
-
Initializes our reader, writer, and the i/o filter chains based on the
specified socket.
- setTlsPeerCertificates(Certificate[]) - Method in class org.subethamail.smtp.server.Session
-
- setTlsStarted(boolean) - Method in class org.subethamail.smtp.server.Session
-
- showAuthCapabilitiesBeforeSTARTTLS(boolean) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
Sets whether AUTH capabilities are shown before STARTTLS is received.
- shutdown() - Method in class org.subethamail.smtp.internal.server.ServerThread
-
Closes the server socket and all client sockets.
- SimpleMessageListener - Interface in org.subethamail.smtp.helper
-
This is an interface for processing the end-result messages that is
higher-level than the MessageHandler and related factory.
- simpleMessageListener(SimpleMessageListener) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- SimpleMessageListenerAdapter - Class in org.subethamail.smtp.helper
-
MessageHandlerFactory implementation which adapts to a collection of
MessageListeners.
- SimpleMessageListenerAdapter(SimpleMessageListener) - Constructor for class org.subethamail.smtp.helper.SimpleMessageListenerAdapter
-
Initializes this factory with a single listener.
- SimpleMessageListenerAdapter(Collection<SimpleMessageListener>) - Constructor for class org.subethamail.smtp.helper.SimpleMessageListenerAdapter
-
Initializes this factory with the listeners.
- SimpleMessageListenerAdapter(Collection<SimpleMessageListener>, int) - Constructor for class org.subethamail.smtp.helper.SimpleMessageListenerAdapter
-
Initializes this factory with the listeners.
- size - Variable in class org.subethamail.smtp.internal.command.BdatCommand.Bdat
-
- skip(long) - Method in class org.subethamail.smtp.internal.io.ReceivedHeaderStream
-
- SmartClient - Class in org.subethamail.smtp.client
-
A somewhat smarter abstraction of an SMTP client which doesn't require
knowing anything about the nitty gritty of SMTP.
- SmartClient(SMTPClient, String, Optional<Authenticator>) - Constructor for class org.subethamail.smtp.client.SmartClient
-
Constructor.
- SmarterMessageListener - Interface in org.subethamail.smtp.helper
-
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.
- SmarterMessageListener.Receiver - Interface in org.subethamail.smtp.helper
-
Interface which accepts delivery of a message.
- SmarterMessageListenerAdapter - Class in org.subethamail.smtp.helper
-
MessageHandlerFactory implementation which adapts to a collection of
SmarterMessageListeners.
- SmarterMessageListenerAdapter(SmarterMessageListener) - Constructor for class org.subethamail.smtp.helper.SmarterMessageListenerAdapter
-
Initializes this factory with a single listener.
- SmarterMessageListenerAdapter(Collection<SmarterMessageListener>) - Constructor for class org.subethamail.smtp.helper.SmarterMessageListenerAdapter
-
Initializes this factory with the listeners.
- SmarterMessageListenerAdapter(Collection<SmarterMessageListener>, int) - Constructor for class org.subethamail.smtp.helper.SmarterMessageListenerAdapter
-
Initializes this factory with the listeners.
- SMTP_CHARSET - Static variable in class org.subethamail.smtp.internal.Constants
-
- SMTP_MAX_LINE_LEN - Static variable in class org.subethamail.smtp.internal.Constants
-
Maximum total length of a command line as
SMTPClient - Class in
org.subethamail.smtp.client
-
A very low level abstraction of the STMP stream which knows how to handle the
raw protocol for lines, whitespace, etc.
- SMTPClient() - Constructor for class org.subethamail.smtp.client.SMTPClient
-
Establishes a connection to host and port.
- SMTPClient(Optional<SocketAddress>, Optional<String>) - Constructor for class org.subethamail.smtp.client.SMTPClient
-
Constructor.
- SMTPClient.Response - Class in org.subethamail.smtp.client
-
Result of an SMTP exchange.
- SMTPException - Exception in org.subethamail.smtp.client
-
Thrown if a syntactically valid reply was received from the server, which
indicates an error via the status code.
- SMTPException(SMTPClient.Response) - Constructor for exception org.subethamail.smtp.client.SMTPException
-
- SMTPResponseHelper - Class in org.subethamail.smtp.internal.util
-
- SMTPServer - Class in org.subethamail.smtp.server
-
Main SMTPServer class.
- SMTPServer.Builder - Class in org.subethamail.smtp.server
-
- softwareName(String) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- SSLSocketCreator - Interface in org.subethamail.smtp.server
-
- start(int) - Method in class org.subethamail.smtp.examples.BasicSMTPServer
-
- start() - Method in class org.subethamail.smtp.server.SMTPServer
-
Starts the server listening for connections.
- start() - Method in class org.subethamail.wiser.Wiser
-
Starts the SMTP Server
- startMailTransaction() - Method in class org.subethamail.smtp.server.Session
-
Starts a mail transaction by creating a new message handler.
- StartTLSCommand - Class in org.subethamail.smtp.internal.command
-
- StartTLSCommand() - Constructor for class org.subethamail.smtp.internal.command.StartTLSCommand
-
- startTlsSocketFactory(SSLSocketCreator) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- startTlsSocketFactory(SSLContext) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- startTlsSocketFactory(SSLContext, boolean) - Method in class org.subethamail.smtp.server.SMTPServer.Builder
-
- stop() - Method in class org.subethamail.smtp.server.SMTPServer
-
Shut things down gracefully.
- stop() - Method in class org.subethamail.wiser.Wiser
-
Stops the SMTP Server
- success() - Static method in class org.subethamail.smtp.server.SessionHandler.SessionAcceptance
-
T
- TerminationException(int) - Constructor for exception org.subethamail.smtp.internal.io.CRLFTerminatedReader.TerminationException
-
- TerminationException(String, int) - Constructor for exception org.subethamail.smtp.internal.io.CRLFTerminatedReader.TerminationException
-
- TextUtils - Class in org.subethamail.smtp.internal.util
-
- thresholdReached(int, int) - Method in class org.subethamail.smtp.internal.io.DeferredFileOutputStream
-
- TimeBasedSessionIdFactory - Class in org.subethamail.smtp.server
-
TimeBasedSessionIdFactory is a very simple
SessionIdFactory, which
assigns numeric identifiers based on the current milliseconds time, amending
it as necessary to make it unique.
- TimeBasedSessionIdFactory() - Constructor for class org.subethamail.smtp.server.TimeBasedSessionIdFactory
-
- TMPFILE_PREFIX - Static variable in class org.subethamail.smtp.internal.io.DeferredFileOutputStream
-
- TMPFILE_SUFFIX - Static variable in class org.subethamail.smtp.internal.io.DeferredFileOutputStream
-
- to(String) - Method in class org.subethamail.smtp.client.SmartClient
-
- toHex(byte[]) - Static method in class org.subethamail.smtp.internal.util.HexUtils
-
Convert a byte array into his hex representation.
- toHex(byte[], char) - Static method in class org.subethamail.smtp.internal.util.HexUtils
-
Convert a byte array into his hex representation.
- toHex(byte[], int, int) - Static method in class org.subethamail.smtp.internal.util.HexUtils
-
Convert a byte array into his hex representation.
- toHex(byte[], int, int, Character) - Static method in class org.subethamail.smtp.internal.util.HexUtils
-
Convert a byte array into his hex representation.
- TooMuchDataException - Exception in org.subethamail.smtp
-
Thrown by message listeners if an input stream provides more data than the
listener can handle.
- TooMuchDataException() - Constructor for exception org.subethamail.smtp.TooMuchDataException
-
- TooMuchDataException(String) - Constructor for exception org.subethamail.smtp.TooMuchDataException
-
- toOutputString() - Method in class org.subethamail.smtp.internal.server.HelpMessage
-
- toString() - Method in class org.subethamail.smtp.client.SMTPClient.Response
-
- toString() - Method in class org.subethamail.smtp.client.SMTPClient
-
- toString() - Method in class org.subethamail.wiser.WiserMessage
-
Implementation of toString()
U
- UnknownCommandException - Exception in org.subethamail.smtp.internal.server
-
- UnknownCommandException() - Constructor for exception org.subethamail.smtp.internal.server.UnknownCommandException
-
- UnknownCommandException(String) - Constructor for exception org.subethamail.smtp.internal.server.UnknownCommandException
-
- UnknownCommandException(String, Throwable) - Constructor for exception org.subethamail.smtp.internal.server.UnknownCommandException
-
- UnknownCommandException(Throwable) - Constructor for exception org.subethamail.smtp.internal.server.UnknownCommandException
-
- UsernamePasswordValidator - Interface in org.subethamail.smtp.auth
-
Use this when your authentication scheme uses a username and a password.
- Utf8InputStreamReader - Class in org.subethamail.smtp.internal.io
-
No-buffering, no-locking (not thread-safe) InputStream Reader for UTF-8
encoded strings.
- Utf8InputStreamReader(InputStream) - Constructor for class org.subethamail.smtp.internal.io.Utf8InputStreamReader
-
V
- value - Variable in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Command
-
- value - Variable in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Family
-
- value - Variable in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Transport
-
- valueOf(String) - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV1Handler.Family
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Command
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Family
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Transport
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.subethamail.smtp.internal.server.CommandRegistry
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV1Handler.Family
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Command
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Family
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.subethamail.smtp.internal.proxy.ProxyProtocolV2Handler.Transport
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.subethamail.smtp.internal.server.CommandRegistry
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- VERB - Static variable in class org.subethamail.smtp.internal.command.AuthCommand
-
- VerifyCommand - Class in org.subethamail.smtp.internal.command
-
- VerifyCommand() - Constructor for class org.subethamail.smtp.internal.command.VerifyCommand
-
- Version - Class in org.subethamail.smtp
-
Provides version information from the manifest.
W
- Wiser - Class in org.subethamail.wiser
-
Wiser is a tool for unit testing applications that send mail.
- Wiser.Accepter - Interface in org.subethamail.wiser
-
- Wiser.WiserBuilder - Class in org.subethamail.wiser
-
- WiserMessage - Class in org.subethamail.wiser
-
This class wraps a received message and provides a way to generate a JavaMail
MimeMessage from the data.
- write(int) - Method in class org.subethamail.smtp.internal.io.DotTerminatedOutputStream
-
- write(byte[], int, int) - Method in class org.subethamail.smtp.internal.io.DotTerminatedOutputStream
-
- write(int) - Method in class org.subethamail.smtp.internal.io.ExtraDotOutputStream
-
Writes a byte to the stream, adding dots where appropriate.
- writeChunk(byte[], int, int) - Method in class org.subethamail.smtp.internal.io.ExtraDotOutputStream
-
Overrides super writeChunk in order to add a "." if the previous chunk ended with
a new line and a new chunk starts with "."
- writeTerminatingSequence() - Method in class org.subethamail.smtp.internal.io.DotTerminatedOutputStream
-
Writes ".
A B C D E F G H I J L M N O P Q R S T U V W
Copyright © 2006–2024. All rights reserved.