From 96d4a9bd6d78e1367c81cb324aa2120904f54a61 Mon Sep 17 00:00:00 2001 From: Alex van Andel Date: Thu, 10 Jun 2021 18:04:07 +0000 Subject: [PATCH] Set Reply-To header to allow replying to bookings --- lib/emails/confirm-booked.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/emails/confirm-booked.ts b/lib/emails/confirm-booked.ts index 22aa7b12..4641efbe 100644 --- a/lib/emails/confirm-booked.ts +++ b/lib/emails/confirm-booked.ts @@ -32,6 +32,7 @@ const sendEmail = (calEvent: CalendarEvent, uid: String, { { to: `${calEvent.attendees[0].name} <${calEvent.attendees[0].email}>`, from: `${calEvent.organizer.name} <${from}>`, + replyTo: calEvent.organizer.email, subject: `Confirmed: ${calEvent.type} with ${calEvent.organizer.name} on ${inviteeStart.format('dddd, LL')}`, html: html(calEvent, uid), text: text(calEvent, uid),