Geist Alexander wrote: > Done. > https://issues.apache.org/jira/browse/GERONIMO-2679 > > I cant find the source for the mail implementation. Maybe i can fix > this problem und build geronimo-javamail.jar to replace the buggy > version. > Sorry, but im a nub in geronimo and its implementation. I've fixed this in the latest trunk javamail code, located here: https://svn.apache.org/repos/asf/geronimo/javamail/trunk If you could build this and verify this actually fixes your problem, that would be great. Note that this codes builds the jars using the 1.1-SNAPSHOT version ID, so you'll need to rename these if you're dropping them into an Geronimo assembly as replacements. Rick > > A. Geist > >> >> On Dec 29, 2006, at 9:05 PM, Geist Alexander wrote: >> >>> I am using the latest Geronimo release 2.0-M1. This release >>> includes the geronimo-javamail_1.4_mail-1.0.jar. >>> .\geronimo-tomcat6-jee5-2.0-M1\repository\org\apache\geronimo\javamail\geronimo-javamail_1.4_mail\1.0\geronimo-javamail_1.4_mail-1.0.jar >>> >>> >>> I was testing the sample code in my web-app and a standalone >>> client-application. The result was the same Exception in both apps. >>> I think there is a bug in the implementation. The vector has 2 >>> items, the index to get the second item must be "1" not "2". >>> >>> The same sample code works with suns mail.jar, but i was not able to >>> use this jar in my geronimo web application.* >>> * >> >> Geist, >> Apologies. I forgot how the javamail implementation was separated >>> from our specification. >> >> There's clearly a bug in the javamail implementation. Could you >> create a jira? >> >> --kevan >> >> > >