public class SmtpConnection extends AbstractConnection
AbstractConnection.LineReaderInputStream, AbstractConnection.StateThread.UncaughtExceptionHandlerclient, in, os, password, session, state, userNameMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
SmtpConnection(Socket clientSocket)
Initialize the streams and start the thread.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticate()
Create authenticated session with Exchange server
|
protected void |
decodeCredentials(String encodedCredentials)
Decode SMTP credentials
|
void |
run() |
close, logConnection, readClient, sendClient, sendClient, sendClient, sendClientactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic SmtpConnection(Socket clientSocket)
clientSocket - SMTP client socketprotected void authenticate()
throws IOException
IOException - on errorprotected void decodeCredentials(String encodedCredentials) throws IOException
encodedCredentials - smtp encoded credentialsIOException - if invalid credentialsCopyright © 2001–2025 MickaĆ«l Guessant. All rights reserved.