At 04:01 PM 8/14/2002 +0200, you wrote:
> > once you perform the calculation and determine that an incoming email will
> > exceed your space limit, call
> >
> >          mail.setState(Mail.GHOST)
>
>what ?
>I didn't find this method. (not in the James API, Javamail and J2EE API..)

mailet API


> > to consume the mail.
> > if you want, you can even send a reply to the sender first.
> >
> > in other words, you have to write a mailet. :-)
>
>I don't understand very well what is mailet.... (i'm a newbie in James).

a mailet is a "plug-in" which extends the functionality of James.
please read the documentation at the site, FAQs and previous messages in 
this user group.
a good start on the site is Documentation|Configuration|Mailets.
i'm not aware of any better documentation other than what's on the site.

you can also download the src and look at LocalDelivery.java as a good example.
good luck.

>What can I do with it ?
>How to create a new mailet ? Must I write it in the config.xml file ?
>
>Thanks
>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to