code: private void doUpdateMailServer() throws PageException {
  
  	admin.updateMailServer(getInt("id", -1), getString("admin", action, "hostname"), getString("admin", action, "dbusername"), getString("admin", action, "dbpassword"),
  		Caster.toIntValue(getString("admin", action, "port")), getBoolV("tls", false), getBoolV("ssl", false), toTimeout(getObject("life", null), 1000 * 60 * 5),
  		toTimeout(getObject("idle", null), 1000 * 60 * 5), getBoolV("reuseConnection", true)
  
  	);
  	store();
  	adminSync.broadcast(attributes, config);
      }
docs: @throws PageException