Jakob,
Do you mean MimeMessage?
Best regards,
Alex Andrushchak
Jakob Færch wrote:
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