You might want to set the mail state to GHOST in the exception handler
in your code (if you have one)
That way the message will get no further in the processing chain (I
think)

-- Jason

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] 
> Sent: 06 January 2004 14:44
> To: [EMAIL PROTECTED]
> Subject: mailet error looping
> 
> 
> Hi
> I have a problem where when I have a bug in a mailet, creates 
> an error in 
> the spool.  What appears to happen is the message will then 
> reenter the 
> spool at the root with some kind of "error" tagging, which is then 
> processed again by the mailet which errors again and so on, 
> eventually 
> causing the "Unable to create a new message name: too long. 
> Possible loop 
> in config.xml." error.
> 
> I understand what causes the error itself in the mailet 
> however how can I 
> stop this looping behaviour from happening?  The mailet in 
> question logs 
> mails as they go through so is given the "All" matcher.  Is 
> there some way 
> of not matching error mails?
> 
> thanks
> Pete Storey
> 
> Kiss Technologies
> 
http://www.kisstechnologies.co.uk/

4, Percy Street
London
W1T 1DF

Phone numbers:

Phone 020 7692 9922
Fax 020 7692 9923



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

Reply via email to