private String formatBody ( URL resetUrl , ILocalAccountPerson account , Locale locale ) { final STGroup group = new STGroupDir ( templateDir , ' ' , ' ' ) ; final ST template = group . getInstanceOf ( templateName ) ; String name = findDisplayNameFromLocalAccountPerson ( account ) ; template . add ( "displayName" , name ) ; template . add ( "url" , resetUrl . toString ( ) ) ; return template . render ( ) ; }
Get the body content of the email .