code: private void doUpdateMailSetting() throws PageException {
  	// admin.setMailLog(getString("admin",action,"logfile"),getString("loglevel","ERROR"));
  
  	admin.setMailSpoolEnable(getBoolObject("admin", action, "spoolenable"));
  
  	/*
  	 * / spool interval String str=getString("admin",action,"maxThreads"); Integer i=null;
  	 * if(!StringUtil.isEmpty(str))i=Caster.toInteger(maxThreads);
  	 */
  
  	// timeout
  	String str = getString("admin", action, "timeout");
  	Integer i = null;
  	if (!StringUtil.isEmpty(str)) i = Caster.toInteger(str);
  	admin.setMailTimeout(i);
  
  	admin.setMailDefaultCharset(getString("admin", action, "defaultencoding"));
  	store();
  	adminSync.broadcast(attributes, config);
      }
docs: @throws PageException