public abstract class AbstractMailSource<T extends AbstractMailSource<T>> extends DisposableMailSupport<AbstractMailSource<T>>
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
folder |
protected int |
port |
protected java.lang.String |
protocol |
ADMIN_PASSWORD, ADMIN_USER, greenMaillabel| Constructor and Description |
|---|
AbstractMailSource() |
| Modifier and Type | Method and Description |
|---|---|
T |
port(int port) |
T |
protocol(java.lang.String protocol) |
void |
sendEmail(java.lang.String from,
java.lang.String subject,
java.lang.String msg) |
protected com.icegreen.greenmail.util.ServerSetup |
setupReceiveServer()
Provide configuration options for the "receive" part of the fixture.
|
protected com.icegreen.greenmail.util.ServerSetup |
setupSendServer()
Provide configuration options for the "send" part of the fixture.
|
cleanup, ensureNotStarted, ensureStartedlabel, toDSL, toStringprotected java.lang.String protocol
protected int port
protected java.lang.String folder
public T protocol(java.lang.String protocol)
public T port(int port)
public void sendEmail(java.lang.String from,
java.lang.String subject,
java.lang.String msg)
protected com.icegreen.greenmail.util.ServerSetup setupReceiveServer()
DisposableMailSupportsetupReceiveServer in class DisposableMailSupport<AbstractMailSource<T extends AbstractMailSource<T>>>protected com.icegreen.greenmail.util.ServerSetup setupSendServer()
DisposableMailSupportsetupSendServer in class DisposableMailSupport<AbstractMailSource<T extends AbstractMailSource<T>>>