//use random content to avoid potential residual lingering problems
String subject = GreenMailUtil.random();
String body = GreenMailUtil.random();
GreenMailUtil.sendTextEmailTest("test@localhost.com", "from@localhost.com", subject, body);
Assert.assertTrue( greenMail.waitForIncomingEmail(5000, 1) );
MockMessageProducer messageProducer = new MockMessageProducer();
MailReceiverConfig configuration = new MailReceiverConfig();
configuration.setPort(ServerSetupTest.IMAP.getPort());