question: public void service ( Mail mail ) throws MailetException { MimeMessage message ; try { message = mail . getMessage ( ) ; } catch ( MessagingException e ) { throw new MailetException ( "Could not retrieve message from Mail object" , e ) ; } try { if ( message . isMimeType ( "multipart/*" ) ) { analyseMultipartPartMessage ( message , mail ) ; } } catch ( MessagingException e ) { throw new MailetException ( "Could not retrieve contenttype of message." , e ) ; } catch ( Exception e ) { throw new MailetException ( "Could not analyse message." , e ) ; } }
target:  Service the mail: scan it for attchemnts matching the pattern, store the content of a matchin attachment in the given directory.