Mensajes de error de correos

This commit is contained in:
2024-07-03 11:28:40 -06:00
parent b035ca6243
commit 9d4e77f138
3 changed files with 8 additions and 2 deletions

View File

@@ -82,6 +82,7 @@ class Mailer{
if ($mail->Send()) {
return true;
}else{
echo $mail->ErrorInfo;
echo "Error al enviar correo";
return false;
}