sorry I sent a wrong version that didnot compile
 It should be session.getState().get(MESG_FAILED) as the existing Keys 
MESG_FAILED, SENDER and so on would continue to use the state variable in 
the SMTPHandler.
 -- Anagha
     

 On 8/30/05, Stefano Bagnara <[EMAIL PROTECTED]> wrote: 
> 
> > Stefano,
> >
> > I am still working on 2 and 3. I thought I could release one
> > patch with the following changes
> >
> > 1. UnknownCommandHandler.java
> > a) Added
> > //If there was message failure, don't consider it as
> > an unknown command
> > if (state.get(MESG_FAILED) != null) {
> > return;
> > }
> 
> Hi Anagha,
> 
> I had to modify it in:
> if (session.getMessageState().get(MESG_FAILED) != null) {
> 
> "state" was not a local field/variable.
> 
> Just applied the patch, thank you :-)
> 
> Stefano
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to