public class GreenMailUtilities extends Object
Constructor and Description |
---|
GreenMailUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
robustStartup(com.icegreen.greenmail.util.GreenMail servers,
String host,
int port,
int startMax,
int testMax,
long wait) |
static void |
storeEmail(com.icegreen.greenmail.user.UserManager userManager,
String email,
String user,
String password,
MimeMessage message) |
static MimeMessage |
toMessage(String text,
String email,
String charset) |
static void |
waitForStartup(String host,
int port,
int count,
long wait) |
protected static Log logger
public static void storeEmail(com.icegreen.greenmail.user.UserManager userManager, String email, String user, String password, MimeMessage message) throws Exception
Exception
public static MimeMessage toMessage(String text, String email, String charset) throws MessagingException
MessagingException
public static void waitForStartup(String host, int port, int count, long wait) throws InterruptedException
InterruptedException
public static void robustStartup(com.icegreen.greenmail.util.GreenMail servers, String host, int port, int startMax, int testMax, long wait) throws InterruptedException
InterruptedException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.