6 lines
181 B
JavaScript
6 lines
181 B
JavaScript
const nodemailer = require('nodemailer');
|
|
const { EMAIL_INFO } = require('./config');
|
|
|
|
const transporter = nodemailer.createTransport(EMAIL_INFO);
|
|
|
|
module.exports = transporter; |