reply to sender, rather than admin

This commit is contained in:
Zachary Fleck
2024-03-14 20:55:21 -04:00
committed by GitHub
parent 4fde3f062d
commit 4b0d26e208

View File

@@ -66,6 +66,10 @@ exports.contact_system = async function(req, res) {
Email: admin_email,
Name: site_name + " Admin"
},
ReplyTo: {
Email: req.body.email,
Name: req.body.name
},
To: [{
Email: user.email,
Name: user.firstName + " " + user.lastName