geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jakob Færch <...@trifork.com>
Subject Re: javamail
Date Fri, 20 Jan 2006 11:05:56 GMT


Alex Andrushchak wrote:
> Jakob,
> 
> I've changed code and now i have exception:
> Setting the message with given args...SessionMailerBean.setMessage: 
> checkpoint 1
> .
> 12:47:23,734 WARN  [SystemExceptionInterceptor] SessionMailer
> java.lang.UnsupportedOperationException: Method not yet implemented
>        at 
> javax.mail.internet.MimeMessage.addRecipients(MimeMessage.java:287)

It seems that you're still using the Address variant of addRecipients. 
You need to give the method a String parameter. I must admit I'm not 
that much into the details of the javamail implementation, but I guess 
you can use the recipient variable in our code.

Jakob

Mime
View raw message