You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by wjs00 <wj...@mails.tsinghua.edu.cn> on 2002/06/07 09:49:43 UTC

MailetContext.sendMail() error!

when i user method 
sendMail(MailAddress sender,
                     java.util.Collection recipients,
                     javax.mail.internet.MimeMessage msg,
                     java.lang.String state)
              throws javax.mail.MessagingException
to send a outgoing message in a customered mailet,i always get the following
error:


Exception in processor <root>
java.lang.ArrayStoreException
        at java.lang.System.arraycopy(Native Method)
        at java.util.Vector.toArray(Vector.java:692)
        at org.apache.james.transport.LinearProcessor.verifyMailAddresses(Linear
Processor.java:215)
        at org.apache.james.transport.LinearProcessor.service(LinearProcessor.ja
va:139)
        at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManage
r.java:241)
        at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.ja
va:208)
        at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Ex
ecutableRunnable.java:47)
        at org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread
.java:80)
Exception in processor <error>
java.lang.ClassCastException: java.lang.String
        at org.apache.mailet.GenericRecipientMatcher.match(GenericRecipientMatch
er.java:37)
        at org.apache.james.transport.LinearProcessor.service(LinearProcessor.ja
va:133)
        at org.apache.james.transport.JamesSpoolManager.process(JamesSpoolManage
r.java:241)
        at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.ja
va:208)
        at org.apache.avalon.excalibur.thread.impl.ExecutableRunnable.execute(Ex
ecutableRunnable.java:47)
        at org.apache.avalon.excalibur.thread.impl.WorkerThread.run(WorkerThread
.java:80)


is there anything i still have 2 do with it?



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>