P
pcouas
Hi,
Anyone could explain me following error message
java.lang.IllegalAccessError: taglibm2.SendTag tried to access method
javax/mail/internet/InternetAddress.(Ljava/lang/String;Z)V
String temp=null;
this.recipients = new StringTokenizer(listto,";");
InternetAddress[] toAddrs = null, ccAddrs = null;
// toAddrs = InternetAddress.parse(recipients, false);
try {
String temp=null;
if (recipients != null)
{
int i=0;
toAddrs = new InternetAddress[recipients.countTokens()];
//boucle si plusieurs destinataires
while(recipients.hasMoreElements())
{
temp=(String)recipients.nextElement();
//ERROR IS HERE
toAddrs = new InternetAddress(temp,false);
i++;
}
Anyone could explain me following error message
java.lang.IllegalAccessError: taglibm2.SendTag tried to access method
javax/mail/internet/InternetAddress.(Ljava/lang/String;Z)V
String temp=null;
this.recipients = new StringTokenizer(listto,";");
InternetAddress[] toAddrs = null, ccAddrs = null;
// toAddrs = InternetAddress.parse(recipients, false);
try {
String temp=null;
if (recipients != null)
{
int i=0;
toAddrs = new InternetAddress[recipients.countTokens()];
//boucle si plusieurs destinataires
while(recipients.hasMoreElements())
{
temp=(String)recipients.nextElement();
//ERROR IS HERE
toAddrs = new InternetAddress(temp,false);
i++;
}