commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ludwig Magnusson" <>
Subject [EMAIL] Problem with mimemessage
Date Fri, 18 Dec 2009 09:31:46 GMT

I want my webapp to send emails to its users.

I'm using turbine, which has VelocityEmail, that uses commons email, which
in turn uses javamail.

I realize that this may be a javamail problem but since the Email class in
commons-email always uses javamail I am asking here to see if anyone have
had the same problem. This list is much more active than javamails own.


The problem is that when I compile my app, everything works, but when I run
my webapp I get this error:


java.lang.UnsupportedOperationException: Method not yet implemented






If I goto line 89 in MimeMessage, it consists of javadoc text so obviously
something is wrong.


I have tried commons email 1.0, 1.1 and 1.2 all with javamail 1.4.1 and
1.4.3 but I always get this error.

I also worte a small program that uses the exact same code to send the email
and I run it via eclipse. There it works. This suggests that the file I have
in WEB-INF/lib is wrong but it is the same one I have linked as a referenced
library in eclipse.


I googled a bit and found other people having the same problem. The solution
there was to make sure that the file in the lib directory was the correct
one, but as I said, I have already checked this.

Does anyone recognize this error?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message