String to = "to@localhost";
String subject = "Subject?<>/|\\\\.%\\\"*?:{[]}!";
greenMail.setUser(to, to);
GreenMailUtil.sendTextEmail(to, "from@localhost", subject, "msg", greenMail.getSmtp().getServerSetup());
greenMail.waitForIncomingEmail(5000, 1);
<BUG>retrieveAndCheck(new Retriever(greenMail.getPop3()), to, subject);
retrieveAndCheck(new Retriever(greenMail.getImap()), to, subject);
}</BUG>
@Test
public void testEscapeMessageID() throws MessagingException, IOException {

String to = "to@localhost";
String subject = "Subject?<>/|\\\\.%\\\"*?:{[]}!";
greenMail.setUser(to, to);
GreenMailUtil.sendTextEmail(to, "from@localhost", subject, "msg", greenMail.getSmtp().getServerSetup());
greenMail.waitForIncomingEmail(5000, 1);
retrieveAndCheck(greenMail.getPop3(), to, subject);
retrieveAndCheck(greenMail.getImap(), to, subject);
}
@Test
public void testEscapeMessageID() throws MessagingException, IOException {
