*/
public UserAccountBean getUserAccountbyCode(final String inviteCode) throws EnMeNoResultsFoundException{
final UserAccount userAcc;
SignUpBean singUp = new SignUpBean();
if (inviteCode == null) {
throw new EnMeNoResultsFoundException("confirmation code is missing");
} else {
userAcc = getAccountDao().getUserAccountbyInvitationCode(inviteCode);
if (userAcc!=null) {
userAcc.setInviteCode(null);
userAcc.setUserStatus(Boolean.TRUE);
getAccountDao().saveOrUpdate(userAcc);
}else{
throw new EnMeNoResultsFoundException("confirmation code not found");
}
}
singUp = ConvertDomainBean.convertUserAccountToSignUpBean(userAcc);
if (EnMePlaceHolderConfigurer.getBooleanProperty("application.email.enabled")) {
try {