}
// mail sent by a system user
User user = sender.getUser();
String institution = user.getProperty(UserConstants.INSTITUTIONALNAME, null);
if (institution == null) institution = "";
return trans.translate("footer.with.userdata", new String[] { user.getProperty(UserConstants.FIRSTNAME, null), user.getProperty(UserConstants.LASTNAME, null), sender.getName(),
institution, Settings.getServerContextPathURI() });
}
public static String getTitleForFailedUsersError(Locale locale) {