play.libs
Class Mail.Mock

java.lang.Object
  extended by play.libs.Mail.Mock
Enclosing class:
Mail

public static class Mail.Mock
extends java.lang.Object


Constructor Summary
Mail.Mock()
           
 
Method Summary
static java.lang.String getContent(Part message)
           
static java.lang.String getLastMessageReceivedBy(java.lang.String email)
           
static void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mail.Mock

public Mail.Mock()
Method Detail

getContent

public static java.lang.String getContent(Part message)
                                   throws MessagingException,
                                          java.io.IOException
Throws:
MessagingException
java.io.IOException

getLastMessageReceivedBy

public static java.lang.String getLastMessageReceivedBy(java.lang.String email)

reset

public static void reset()


Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly