For all emails that from special users, I need to forward these email out
after delay time. For example, I got one email in , and forward it out after
24 hours. I do not want mailets to be held so long time. So, I saved mail to
a folder. I have another thread to check the folder to see if there are
emails that are there longer  than 24 hours. I just want to get repository
that is used in ToRepository Mailets and retrive the mail through it.
Thanks a lot.

On 3/7/06, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
>
> Can you explain what is your goal?
>
> What is the "other java class such as monitor"? Is it in a mailet? Is it
> inside james/phoenix ? Is it in the same JVM?
>
> Stefano
>
> haipeng du wrote:
> > I want to save some special email to my own repository. To do that, I
> use
> > ToRepository mailet. It works great. The problem is that how could I
> retrive
> > it through repository. I checked source code, when it saves mail to file
> > system, it dose not return the key so that I can get that. Also, how
> could I
> > get that repository object from other java class such as monitor class
> that
> > I wrote myself.
> > Thanks a lot
> >
> > --
> > Haipeng Du
> > Software Engineer
> > Comphealth,
> > Salt Lake City
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Haipeng Du
Software Engineer
Comphealth,
Salt Lake City

Reply via email to