From e0d0baa75ec0bf617f91b6cd779305d4009cae12 Mon Sep 17 00:00:00 2001 From: Wes Bos Date: Fri, 9 Feb 2018 13:31:39 -0500 Subject: 🆒 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/mail.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 backend/src/mail.js (limited to 'backend/src/mail.js') diff --git a/backend/src/mail.js b/backend/src/mail.js new file mode 100644 index 0000000..3159fe2 --- /dev/null +++ b/backend/src/mail.js @@ -0,0 +1,12 @@ +const nodemailer = require('nodemailer'); + +const transport = nodemailer.createTransport({ + host: 'smtp.mailtrap.io', + port: 2525, + auth: { + user: 'c41bab08214808', + pass: '04992d4af4bdcf', + }, +}); + +module.exports = transport; -- cgit v1.3