protected static class EmailConnector.SendThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected String |
body |
protected Throwable |
exception |
protected String |
from |
protected EmailSession |
session |
protected String |
subject |
protected List<String> |
to |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
EmailConnector.SendThread(EmailSession session,
List<String> to,
String from,
String subject,
String body) |
Modifier and Type | Method and Description |
---|---|
void |
finishUp() |
void |
run() |
activeCount, 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, yield
protected final EmailSession session
protected final String from
protected final String subject
protected final String body
protected Throwable exception
public void finishUp() throws javax.mail.MessagingException, InterruptedException
javax.mail.MessagingException
InterruptedException