james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merve Temizer <mervet2...@gmail.com>
Subject Re: ClassNotFoundException on Custom Mailet
Date Tue, 24 Jul 2012 11:03:36 GMT
Thanks for answer.

As in my first mail i wrote:

<mailet match="RecipientIs=omikuji@localhost"  class="kobu.omikuji.Omikuji"
>
            <jinja>omikuji@localhost</jinja>
      </mailet>

but it returns error.


2012/7/24 Norman Maurer <norman.maurer@googlemail.com>

> Use the full classname (with package).
>
>
> 2012/7/24 Merve Temizer <mervet2009@gmail.com>:
> > Lines from my mailetcontainer.xml
> >
> >
> > <mailetcontainer enableJmx="true">
> >
> > <mailetpackages>
> >       <mailetpackage>kobu.omikuji.Omikuji</mailetpackage>
> > <mailetpackage>org.apache.james.transport.mailets</mailetpackage>
> >
> <mailetpackage>org.apache.james.transport.mailets.smime</mailetpackage>
> >     </mailetpackages>
> >
> > ....
> >
> > <processor state="transport" enableJmx="true">
> > ...
> >       <mailet match="RecipientIs=omikuji@localhost"
> >  class="kobu.omikuji.Omikuji" >
> >             <jinja>omikuji@localhost</jinja>
> >       </mailet>
> > ...
> > </processor>
> >
> > ...
> > </mailetcontainer>
> >
> >
> > i added Omukuji.class into a jar and import it into james/conf/lib
> >
> > i tried many other configuration like
> >
> > <mailetpackage>kobu.omikuji</mailetpackage>
> >
> >  <mailet match="RecipientIs=omikuji@localhost"  class="Omikuji" >
> >
> > than it says "i could not found
> org.apache.james.transport.mailets.Omukuji"
> >
> > thanks for any suggestion
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message