| 1234567891011121314 |
- const nodemailer = require('nodemailer');
- const config = require('../config');
- const transporter = nodemailer.createTransport({
- host: config.MAIL_HOST,
- port: config.MAIL_PORT,
- secure: config.MAIL_SECURE,
- auth: {
- user: config.MAIL_USER,
- pass: config.MAIL_PASSWORD,
- },
- });
- module.exports = transporter;
|