Skip to content

Commit

Permalink
chore: fix email sending
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbrusegard committed Feb 14, 2025
1 parent cd3b6fd commit 8dcd811
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/actions/sendEmail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ async function sendEmail(_: FormState, formData: FormData): Promise<FormState> {

const transporter = nodemailer.createTransport({
service: 'gmail',
host: 'smtp.gmail.com',
port: 465,
secure: true,
auth: {
user: process.env.SENDING_EMAIL,
pass: process.env.SENDING_PASS,
Expand Down

0 comments on commit 8dcd811

Please sign in to comment.