Skip to content

Commit 5634bb6

Browse files
committed
docs: delete clg
1 parent 74ce5c4 commit 5634bb6

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

email-api/src/mails/mailer.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,4 @@ export const sendEmail = async ({ to, subject, html }) => {
4040
console.error("Gmail/Nodemailer error:", err.message);
4141
throw err; // ¡CRÍTICO! Si no lanzas el error, el controller piensa que todo salió bien
4242
}
43-
}
44-
45-
// Verifica la conexión al iniciar el servidor
46-
transporter.verify((error, success) => {
47-
if (error) {
48-
console.error("❌ Error de conexión SMTP (IPv4 Check):", error.message);
49-
} else {
50-
console.log("✅ Servidor de correos listo para enviar (IPv4 forzado)");
51-
}
52-
});
43+
}

0 commit comments

Comments
 (0)