This object provides an service that waits for smtp connections and lets the client enter an email message.
When the client finished you can call getReceivedEmails() to get a list of emails delivered by the progam under test and check the delivered mails to have expected header proprties and content.