String base = ConfigurationManager.getProperty("url.base");
String base = ConfigurationManager.getProperty("dspace.url");
    private static void sendEmail(String email,                                  boolean isRegister,                                  TableRow rd)        throws MessagingException, IOException    {        String base = ConfigurationManager.getProperty("url.base");        //  Note change from "key=" to "token="        String specialLink = new StringBuffer()            .append(base)            .append(base.endsWith("/") ? "" : "/")            .append(isRegister ? "register" : "forgot")            .append("?")            .append("token=")            .append(rd.getStringColumn("token"))            .toString();        Email bean = ConfigurationManager.getEmail(isRegister ? "register" :            "change_password");        bean.addRecipient(email);        bean.addArgument(specialLink);        bean.send();        // Breadcrumbs        if (log.isInfoEnabled())            log.info("Sent " + (isRegister ? "registration" : "account") +                " information to " + email);    }