@Test()
public void testNoMailJar() throws SMTPException, IOException
{
// if this variable is set to null, than a NPE will be thrown, which is
// also good for testing.
MessageHandlerFactory handlerFactory = new SimpleMessageListenerAdapter(new SimpleMessageListener()
{
@Override
public void deliver(String from, String recipient, InputStream data) throws TooMuchDataException,
IOException