To let you know:
I have found a bug on geronimo-javamail_1.4_spec-1.0-M1.jar, on
javax.mail.Service.connect(s1,s2,s3,s4), it completely ignores any user
property you have passed. It should look "URLName.getUsername()", it its
null then it looks for a property called "mail.[protocol].user", then
for "mail.user" and if it still is null then it looks for
System.getProperty("user.name"), at least that's what sun's mail.jar
does. Geronimo's version however lacks the las 'if' condition, so it
always takes the System's "user.name" property!
Just thought I should let you know.
Regards,
Eric