docker compose up --build
npm install
npm run dev
http://localhost:3000/mailtemplate
●host: maildev
● username:
● password:
● port: 1025
const transporter = nodemailer.createTransport({
host: 'maildev',
port: 1025,
ignoreTLS: true,
});
const mailOptions = {
from: 'from@email.com',
to: email,
subject: 'New Contact',
html: emailHtml,
};