diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-02-09 13:31:39 -0500 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-02-09 13:31:39 -0500 |
| commit | e0d0baa75ec0bf617f91b6cd779305d4009cae12 (patch) | |
| tree | 00eb968f49c6586cbc4367053887d0c5e68471b2 /backend/src/mail.js | |
| parent | 19c9683e2126c68cb9d231293162c756d69c51fb (diff) | |
🆒
Diffstat (limited to 'backend/src/mail.js')
| -rw-r--r-- | backend/src/mail.js | 12 |
1 files changed, 12 insertions, 0 deletions
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; |
