Skip to content

Commit

Permalink
fix(contact): add replyTo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielstreif committed May 15, 2024
1 parent 8e2a9ed commit b82a32a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/routes/contact.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ router
const mailOptions = {
from: process.env.CONTACT_USER,
to: process.env.CONTACT_RECEIVE,
replyTo: `${req.body.name} <${req.body.email}>`,
subject: `Anfrage via Kontaktformular von ${req.body.name}`,
text: `${req.body.name} (${req.body.email}) schreibt: ${req.body.message}`,
};
Expand Down

0 comments on commit b82a32a

Please sign in to comment.