@Test
    void testMailFromAfterReset() throws IOException, MessagingException {
        LOGGER.info("testMailFromAfterReset() start");

        this.assertConnect();
        this.sendExtendedHello();
        this.sendMailFrom();
        this.sendReceiptTo();
        this.sendReset();
        this.sendMailFrom();
        this.sendReceiptTo();
        this.sendDataStart();
        this.sendMessageId();
        this.send("");
        this.send("Body");
        this.sendDataEnd();
        this.sendQuit();

        assertEquals(1, storingMessageListener.getMessages().size());
        final Iterator<StoredMessage> emailIter = storingMessageListener.getMessages().iterator();
        final StoredMessage email = emailIter.next();
        assertEquals("Body" + "\r\n", email.getMimeMessage().getContent().toString());
    }
See
<a href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1474700&amp;group_id=78413&amp;atid=553186">...</a>
for discussion about this bug

@throws IOException        on IO error
@throws MessagingException on messaging error
src/test/java/de/gessnerfl/fakesmtp/smtp/SmtpComplianceIntegrationTest.java