Set Reply-To header to allow replying to bookings

pull/256/head
Alex van Andel 2021-06-10 18:04:07 +00:00
parent d63ad4c555
commit 96d4a9bd6d
1 changed files with 1 additions and 0 deletions

View File

@ -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),