using MailetContext.sendMail

2004-03-31 Thread Angel Angelov
Hi all, I'm trying to send a mail using the method sendMail(MailAddress sender, Collection recipients, MimeMessage msg, String state) using James 2.2.0a15 I set the state to "transport". In my transport processor I configured a gateway smpt server where all e-mails should be send. I become the f

RE: using MailetContext.sendMail

2004-03-31 Thread Noel J. Bergman
> java.lang.ClassCastException > at org.apache.mailet.GenericRecipientMatcher.match(GenericRecipientMatcher.java :89) 89 MailAddress rec = (MailAddress) i.next(); Looks like something was put into the Collection that doesn't belong there. This is later confirmed by: > java.lang.ArraySto

RE: using MailetContext.sendMail

2004-03-31 Thread Angel Angelov
Hallo Noel, thanks for the suggestion. I was created a Collection from Strings instead of Collection of MailAddress. Now it works perfect! What is a JIRA issue and how/where can I submit it? --Angel -- Original Message -- From: "Noel J. Bergman" <[EMAIL

RE: using MailetContext.sendMail

2004-03-31 Thread Noel J. Bergman
> What is a JIRA issue and how/where can I submit it? See: http://issues.apache.org/jira --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]