Skip to content

Commit

Permalink
reverted emails.js for production
Browse files Browse the repository at this point in the history
  • Loading branch information
acao22 committed Jul 19, 2024
1 parent 08f63c8 commit a5e5cbc
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions server/controllers/emails.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,8 @@ 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,
},
let transporter = nodemailer.createTransport({
SES: { ses, aws },
});

const URL =
Expand Down

0 comments on commit a5e5cbc

Please sign in to comment.