Skip to content

Scheduling infrastructure for absolutely everyone.

Set Reply-To header to allow replying to bookings

Alex van Andel96d4a9bd6d78
diff --git a/lib/emails/confirm-booked.ts b/lib/emails/confirm-booked.ts
index 22aa7b12e13..4641efbefe1 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),