implementation de nodemailer for email validation

This commit is contained in:
2026-06-26 14:01:38 +02:00
parent 45535e2b21
commit baa1b8ccc0
14 changed files with 5235 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
const nodemailer = require("nodemailer");
const transporter = nodemailer.createTransport({
host: process.env.MAIL_HOST,
port: Number(process.env.MAIL_PORT),
secure: false,
auth: {
user: process.env.MAIL_USER,
pass: process.env.MAIL_PASS,
},
});
module.exports = transporter;