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, greenMail
label
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, ensureStarted
label, toDSL, toString
protected 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()
DisposableMailSupport
setupReceiveServer
in class DisposableMailSupport<AbstractMailSource<T extends AbstractMailSource<T>>>
protected com.icegreen.greenmail.util.ServerSetup setupSendServer()
DisposableMailSupport
setupSendServer
in class DisposableMailSupport<AbstractMailSource<T extends AbstractMailSource<T>>>