This commit is contained in:
2025-07-22 10:44:40 -06:00
parent 597ab73d4a
commit 8bb0f84fd1
11 changed files with 589 additions and 307 deletions

View File

@@ -131,6 +131,10 @@ function obtenerConfiguracion($conn)
// Función auxiliar para enviar email
function enviarEmailConfirmacion($destinatario, $datosEmpresa, $esAgencia = false)
{
if ($datosEmpresa['status'] !== 'pending') {
return false;
}
$mail = new PHPMailer(true);
try {