| Modifier and Type | Class and Description |
|---|---|
static class |
SmtpServer.SmtpServerException |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_SMTP_PORT |
| Constructor and Description |
|---|
SmtpServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
anticipateMessageCountFor(int messageCount,
int ticks) |
void |
clearMessages() |
int |
getEmailCount() |
MailMessage |
getMessage(int i) |
MailMessage[] |
getMessages() |
boolean |
isReady() |
boolean |
isStopped() |
void |
run() |
void |
setMailStore(MailStore mailStore) |
void |
setPort(int port) |
void |
setThreaded(boolean threaded)
Toggles if the SMTP server is single or multi-threaded for response to
SMTP sessions.
|
void |
stop() |
public static final int DEFAULT_SMTP_PORT
public boolean isStopped()
public void stop()
public MailMessage[] getMessages()
public MailMessage getMessage(int i)
public int getEmailCount()
public void anticipateMessageCountFor(int messageCount,
int ticks)
public boolean isReady()
public void setThreaded(boolean threaded)
public void setMailStore(MailStore mailStore)
public void setPort(int port)
public void clearMessages()
Copyright © 2014. All rights reserved.