directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <p...@steitz.com>
Subject Re: [naming] Mail factory tests
Date Thu, 23 Dec 2004 22:18:40 GMT
Brett Porter wrote:
> Probably a couple of things. I don't remember the name of the library, 
> but there is a mock implementation of javamail that could be used to 
> pretend to send mail, but not actually do it.
> 
> I guess the other alternative is to embed something like James?
> 
> Do you really need to send a mail to test it, or is obtaining a valid 
> session enough?

Gettting a Session / MimePartDataSource is probably good enough. I will 
see if I can find the mock javamail impl.

Phil

Mime
View raw message