String to = "to@localhost";
GreenMailUtil.sendAttachmentEmail(to, "from@localhost", "Subject", createLargeString(),
createLargeByteArray(), "application/blubb", "file", "descr",
greenMail.getSmtp().getServerSetup());
greenMail.waitForIncomingEmail(5000, 1);
<BUG>retrieveAndCheck(new Retriever(greenMail.getPop3()), to);
retrieveAndCheck(new Retriever(greenMail.getImap()), to);
}</BUG>
@Test
public void testLargeMessageBody() throws MessagingException, IOException {

String to = "to@localhost";
GreenMailUtil.sendAttachmentEmail(to, "from@localhost", "Subject", createLargeString(),
createLargeByteArray(), "application/blubb", "file", "descr",
greenMail.getSmtp().getServerSetup());
greenMail.waitForIncomingEmail(5000, 1);
retrieveAndCheck(greenMail.getPop3(), to);
retrieveAndCheck(greenMail.getImap(), to);
}
@Test
public void testLargeMessageBody() throws MessagingException, IOException {
