Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/ctc-uci/cell-dogs-backend in…
Browse files Browse the repository at this point in the history
…to dev
  • Loading branch information
jeffcheema committed Aug 10, 2023
2 parents 6ecc316 + 8cfbefe commit e4e1298
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion common/mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ require('dotenv').config();
// password is process.env.NODEMAILER_PASSWORD

const mailer = nodemailer.createTransport({
service: 'gmail',
host: 'smtp.ionos.com',
auth: {
user: process.env.NODEMAILER_EMAIL,

pass: process.env.NODEMAILER_PASSWORD,
},
from: process.env.REACT_APP_EMAIL_USERNAME,
secure: true,
});

module.exports = mailer;

0 comments on commit e4e1298

Please sign in to comment.