org.mule.transport.email
Class AbstractGreenMailSupport
java.lang.Object
org.mule.transport.email.AbstractGreenMailSupport
- Direct Known Subclasses:
- FixedPortGreenMailSupport
public abstract class AbstractGreenMailSupport
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOCALHOST
public static final String LOCALHOST
- See Also:
- Constant Field Values
MESSAGE
public static final String MESSAGE
- See Also:
- Constant Field Values
AT_EXAMPLE_COM
public static final String AT_EXAMPLE_COM
- See Also:
- Constant Field Values
BOB
public static final String BOB
- See Also:
- Constant Field Values
BOB_EMAIL
public static final String BOB_EMAIL
- See Also:
- Constant Field Values
ALICE
public static final String ALICE
- See Also:
- Constant Field Values
ALICE_EMAIL
public static final String ALICE_EMAIL
- See Also:
- Constant Field Values
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
STARTUP_PERIOD_MS
public static final long STARTUP_PERIOD_MS
- See Also:
- Constant Field Values
logger
protected final Log logger
AbstractGreenMailSupport
public AbstractGreenMailSupport()
createUserAndStoreEmail
protected void createUserAndStoreEmail(String email,
String user,
String password,
Object message)
throws Exception
- Throws:
Exception
createUser
public com.icegreen.greenmail.user.GreenMailUser createUser(String email,
String user,
String password)
throws com.icegreen.greenmail.user.UserException
- Throws:
com.icegreen.greenmail.user.UserException
createBobAndStoreEmail
public void createBobAndStoreEmail(Object message)
throws Exception
- Throws:
Exception
createAliceAndStoreEmail
public void createAliceAndStoreEmail(Object message)
throws Exception
- Throws:
Exception
startServers
public void startServers(List<Integer> list)
throws Exception
- Throws:
Exception
nextPort
protected abstract int nextPort()
stopServers
protected void stopServers()
throws Exception
- Throws:
Exception
getServers
public com.icegreen.greenmail.util.GreenMail getServers()
getValidMessage
public MimeMessage getValidMessage(String to)
throws Exception
- Throws:
Exception
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.