}
public void sendPasswordReminder(String userName) throws UnrecognizedUserNameException {
String email = MetaProjectManager.getManager().getUserEmail(userName);
if (email == null) {
throw new UnrecognizedUserNameException("User " + userName + " does not have an email configured.");
}
changePassword(userName, EmailConstants.RESET_PASSWORD);
App.get().getMailManager().sendMail(email, EmailConstants.FORGOT_PASSWORD_SUBJECT, EmailConstants.FORGOT_PASSWORD_EMAIL_BODY);
}