function SendMemberVerificationEmail($data, $form)
 {
     try {
         if (!isset($data['Email'])) {
             throw new EntityValidationException('Missing Email!');
         }
         $email = trim($data['Email']);
         $this->member_manager->resendEmailVerification($email, new MemberRegistrationSenderService());
         return $this->renderWith(array('MemberVerification_resendOK', 'Page'), array('Email' => $email));
     } catch (EntityValidationException $ex1) {
         Form::messageForForm($form->FormName(), $ex1->getMessage(), 'bad');
         //Return back to form
         SS_Log::log($ex1->getMessage(), SS_Log::WARN);
         return $this->redirectBack();
     } catch (NotFoundEntityException $ex2) {
         Form::messageForForm($form->FormName(), "There was an error with your request, please contact your admin.", 'bad');
         //Return back to form
         SS_Log::log($ex2->getMessage(), SS_Log::WARN);
         return $this->redirectBack();
     } catch (Exception $ex) {
         Form::messageForForm($form->FormName(), "There was an error with your request, please contact your admin.", 'bad');
         //Return back to form
         SS_Log::log($ex->getMessage(), SS_Log::ERR);
         return $this->redirectBack();
     }
 }