Hi Norman Thanks its working fine now. I was not marking state of my mail as error and thats why accept function wasnt executing delayFilter logic.Now I have changed the code and its fine.
Thanks Amit -----Original Message----- From: norman.mau...@googlemail.com [mailto:norman.mau...@googlemail.com] On Behalf Of Norman Maurer Sent: Tuesday, April 20, 2010 9:42 PM To: Amit Verma Cc: James Users List; server-dev@james.apache.org Subject: Re: Retry Logic isnt Working Hi Amit, its hard to tell you whats wrong with your code without looking at it. The "delaying" of the mails is implemented by using a SpoolRepository.AcceptFilter. Bye, Norman 2010/4/20 Amit Verma <amit.ve...@agnity.com>: > Hi > > I have a requirement that instead of delivering a mail to remote host ,I > have to call another method which changes the format of mail and delivers it > to the destination.For this I have changed the code in Remote Delivery > Mailet by omitting the code in deliver(mail,session) method and calling my > code from that. Now my problem is if I omit the code of deliver method > ,retry logic is not working.New deliver method is getting called again and > again without waiting for delay time. > > > > I have gone through the code but m unable to find anything related to > delayTime in deliver method.Please let me know what I need to do use the > delayFilter logic if I am calling my code from that method. > > > > Amit --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org