Mark, Maybe you can clear something up for me.. As far as I know, with JavaMail, I still have to have *some* SMTP server running somewhere to send emails. Are you saying that if I include smtp.jar, that acts as my SMTP server?
I don't have a problem factoring out the email smtp stuff into the MailSession.. How about MailSession or MailServer? Anything ending in *Utils becomes a code smell eventually as crap gets tossed in! If you still need an SMTP server running externally, then we should make the sending email tests optional. some sort of config value. I believe in Maven you can easily hand in junit system properties[1]. Alternaively, are there other options that work better? I don't want to include an elephant to swat a fly however. I found these [2],[3] Eric [1] http://maven.apache.org/reference/plugins/test/properties.html [2] http://www.ericdaugherty.com/java/mailserver/gettingstarted.html [3] http://james.apache.org/ > -----Original Message----- > From: Mark Lowe [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 04, 2004 11:14 AM > To: Jakarta Commons Developers List; Corey Scott; [EMAIL PROTECTED] > Subject: [email] dumbster *nix > > > I've started a new thread as I think it will be more useful as a > separate dialogue. > > I've just tried Corey's unix test (and added the patched jar), and > have the same problems. Only very quickly so could be something that > i've overlooked. What i cant work out is how the dumbster tests passed > when i built as root yesterday and now i cant. I've also tried > changing the ports (i entered in bugzilla, to get some of the issues > comming up on these threads logged someplace). > > Jason the dumpster guy has been in touch, hopefully they'll be a > dumpster in CVS so any efforts can get patched back into the project. > > Despite some progress with dumbster in terms of possiblities, how > about a MailSessionUtil in with the unit tests. The idea being that > the mailapi smtp stuff can be used for now, but dumbster can be added > when progress is made. > > Corey I added the 1.3.1 dumbster to my maven repo and added the test > to the commons mail, I cant see why the test wouldn't succeed (Same > mail session problem), who you expect it to under these conditions? > > Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
