question: protected void handleBouncing ( Mail mail ) throws MessagingException { mail . setState ( Mail . ERROR ) ; setMessageDeleted ( ) ; mail . setErrorMessage ( "This mail from FetchMail task " + getFetchTaskName ( ) + " seems to be bouncing!" ) ; logStatusError ( "Message is bouncing! Deleted from message store and moved to the Error repository." ) ; }
target:  Method handleBouncing sets the Mail state to ERROR and delete from the message store.