org.mule.transport.email
Class GreenMailUtilities

java.lang.Object
  extended by org.mule.transport.email.GreenMailUtilities

public class GreenMailUtilities
extends Object


Field Summary
protected static Log logger
           
 
Constructor Summary
GreenMailUtilities()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static Log logger
Constructor Detail

GreenMailUtilities

public GreenMailUtilities()
Method Detail

storeEmail

public static void storeEmail(com.icegreen.greenmail.user.UserManager userManager,
                              String email,
                              String user,
                              String password,
                              MimeMessage message)
                       throws Exception
Throws:
Exception

toMessage

public static MimeMessage toMessage(String text,
                                    String email,
                                    String charset)
                             throws MessagingException
Throws:
MessagingException

waitForStartup

public static void waitForStartup(String host,
                                  int port,
                                  int count,
                                  long wait)
                           throws InterruptedException
Throws:
InterruptedException

robustStartup

public static void robustStartup(com.icegreen.greenmail.util.GreenMail servers,
                                 String host,
                                 int port,
                                 int startMax,
                                 int testMax,
                                 long wait)
                          throws InterruptedException
Throws:
InterruptedException


Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.