import nodemailer from "nodemailer"; export const transporter = nodemailer.createTransport({ host: "smtp.ethereal.email", port: 587, auth: { user: process.env.EMAIL, pass: process.env.EMAIL_PASS } }); export const mailOptions = { from: process.env.EMAIL, to: process.env.EMAIL, html: `
|