function getPassword()
 {
     $participante = new participantesModel();
     $datos = $participante->getPassword($_POST['correo']);
     if (count($datos) == 1) {
         $mail = new PHPMailer();
         //Set who the message is to be sent from
         $mail->setFrom(' informes@cieft.org.mx', 'CIEFT');
         $mail->addReplyTo(' informes@cieft.org.mx', 'CIEFT');
         $mail->CharSet = 'UTF-8';
         $mail->ClearAddresses();
         $mail->addAddress($_POST['correo']);
         //Set the subject line
         $mail->Subject = "RECUPERACIÓN DE CONTRASEÑA";
         foreach ($datos as $key => $row) {
             $body = "<h1>Recuperación de contraseña</h1><br>Su contraseña es: " . $row['contrasenna'] . "<b></b>";
             $mail->msgHTML($body);
             //Replace the plain text body with one created manually
             $mail->AltBody = "Recuperación de contraseña\nSu contraseña es: " . $row['contrasenna'];
             if (!$mail->send()) {
                 $respuesta = array("estatus" => 500, "msg" => "ERROR AL ENVIAR AL CORREO. \n VUELVA A INTENTAR. \n SI EL PROBLEMA PERSISTE CONTACTE AL ADMINISTRADOR DEL SITIO.");
             } else {
                 $respuesta = array("estatus" => 200, "msg" => "SE HA ENVIADO UN CORREO CON SU CONTRASEÑA.", "url" => PATH_SITE);
             }
         }
     } else {
         $respuesta = array("estatus" => 500, "msg" => "ERROR EL CORREO NO SE ENCUENTRA EN NUESTRA BASE DE DATOS.");
     }
     echo json_encode($respuesta);
 }