Skip to content

Commit

Permalink
Mailer Somewhat Ready
Browse files Browse the repository at this point in the history
  • Loading branch information
jaison080 committed Dec 25, 2023
1 parent 74c2e57 commit 35c44f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion functions/mailer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ const transporter = nodemailer.createTransport({
service: "gmail",
host: "smtp.gmail.com",
port: 587,
secure:false,
pool: true,
auth: {
user: process.env.MAILER_EMAIL,
Expand All @@ -14,7 +15,7 @@ const transporter = nodemailer.createTransport({
const main = async (body) => {
try {
const mailOptions = {
from: "[email protected]",
from: "IEDC MEC Collab",
to: body.toEmail,
subject: body.subject,
html: body.content,
Expand Down

0 comments on commit 35c44f8

Please sign in to comment.