public void init() throws MessagingException {
  repositoryPath=getInitParameter("repositoryPath");
  processor=(getInitParameter("processor") == null) ? Mail.DEFAULT : getInitParameter("processor");
  try {
    delete=(getInitParameter("delete") == null) ? false : Boolean.valueOf(getInitParameter("delete"));
  }
 catch (  Exception e) {
  }
  try {
    repository=mailStore.select(repositoryPath);
  }
 catch (  Exception e) {
    throw new MessagingException("Failed to retrieve MailRepository for url " + repositoryPath,e);
  }
}

public void init ( ) throws MessagingException { repositoryPath = getInitParameter ( "repositoryPath" ) ; processor = ( getInitParameter ( "processor" ) == null ) ? Mail . DEFAULT : getInitParameter ( "processor" ) ; try { delete = ( getInitParameter ( "delete" ) == null ) ? false : Boolean . valueOf ( getInitParameter ( "delete" ) ) ; } catch ( Exception e ) { } try { repository = mailStore . select ( repositoryPath ) ; } catch ( Exception e ) { throw new MessagingException ( "Failed to retrieve MailRepository for url " + repositoryPath , e ) ; } }
initialize the mailet , loading configuration information .
