Skip to content

Commit

Permalink
reset emails.js file for production
Browse files Browse the repository at this point in the history
  • Loading branch information
acao22 committed Jul 19, 2024
1 parent e28c1e2 commit 624c78c
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions server/controllers/emails.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,9 @@ const ses = new aws.SES({
},
});

// create Nodemailer SES transporter
// let transporter = nodemailer.createTransport({
// SES: { ses, aws },
// });

const transporter = nodemailer.createTransport({
service: "Gmail",
host: "smtp.gmail.com",
port: 465,
secure: true,
auth: {
user: process.env.NODEMAILER_EMAIL,
pass: process.env.NODEMAILER_PASSWORD,
},
//create Nodemailer SES transporter
let transporter = nodemailer.createTransport({
SES: { ses, aws },
});

const URL =
Expand Down

0 comments on commit 624c78c

Please sign in to comment.