However, doesn't dumbster do that?  From the examples
(http://www.quintanasoft.com/dumbster/#Examples)

server.stop();

    assertTrue(server.getReceievedEmailSize() == 1);
    Iterator emailIter = server.getReceivedEmail();
    SmtpMessage email = (SmtpMessage)emailIter.next();
    assertTrue(email.getHeaderValue("Subject").equals("Test"));
    assertTrue(email.getBody().equals("Test Body"));

Couldn't we do it right there?   Do something like write out the content to
/target/emailout/

Eric

> -----Original Message-----
> From: Corey Scott [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 29, 2004 3:32 AM
> To: Jakarta Commons Developers List
> Subject: Re: DO NOT REPLY [Bug 31934] - [mail] No smtp.jar in
> dependencies list
>
>
> We may also find that the mail.jar has an API for retrieving messages
> from a mail server, may be can use this rather than adding a new jar?
>
> What do you feel about saving the output of the tests to a file (mail
> messages) only.  This way one could check the output without and
> connection and without spamming yourself.
>
> Thanks,
> Corey
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to