NdsBeisEsb/src/main/java/com/northgateps/nds/beis/esb/registerexemption/RegisterPrsExemptionEmailAgentNotifier.java
/**
     * Constructs links for email body
     * 
     * @param tenant for link
     * 
     * @return email body as String
     */
Constructs links for email body

@param tenant for link

@return email body as String
Constructs links for email body @param tenant for link @return email body as String
private String generateEmailBodyText(String tenant) {
        StringBuilder body = new StringBuilder();
        String website = ConfigurationFactory.getConfiguration().getString("website");
        String url = configurationManager.getString("signin.url");
        String emailBody = body.append(url + "?tenant=" + tenant).toString();
        String bodyText = "<a href=\"" + emailBody + "\">" + website + "</a>";
        return bodyText;
    }
private String generateEmailBodyText ( String tenant ) { StringBuilder body = new StringBuilder ( ) ; String website = ConfigurationFactory . getConfiguration ( ) . getString ( "website" ) ; String url = configurationManager . getString ( "signin.url" ) ; String emailBody = body . append ( url + "?tenant=" + tenant ) . toString ( ) ; String bodyText = "<a href=\"" + emailBody + "\">" + website + "</a>" ; return bodyText ; }
Constructs links for email body
Constructs links for email body