Implementation (#11481)

Co-authored-by: gitstart-calcom <[email protected]>
Co-authored-by: gitstart-calcom <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-09-22 11:14:04 +01:00
1 parent faf974ca4c
commit 2a171e9284
6 files changed
+6

No files matched your search

@@ -10,6 +10,7 @@ export default class AttendeeRequestEmail extends AttendeeScheduledEmail {
return {
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
to: toAddresses.join(","),
replyTo: [...this.calEvent.attendees.map(({ email }) => email), this.calEvent.organizer.email],
subject: `${this.calEvent.attendees[0].language.translate("booking_submitted_subject", {
title: this.calEvent.title,
date: this.getFormattedDate(),
@@ -14,6 +14,7 @@ export default class OrganizerLocationChangeEmail extends OrganizerScheduledEmai
},
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
to: toAddresses.join(","),
replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)],
subject: `${this.t("location_changed_event_type_subject", {
eventType: this.calEvent.type,
name: this.calEvent.attendees[0].name,
@@ -10,6 +10,7 @@ export default class OrganizerRequestEmail extends OrganizerScheduledEmail {
return {
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
to: toAddresses.join(","),
replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)],
subject: `${this.t("awaiting_approval")}: ${this.calEvent.title}`,
html: renderEmail("OrganizerRequestEmail", {
calEvent: this.calEvent,
@@ -10,6 +10,7 @@ export default class OrganizerRequestReminderEmail extends OrganizerRequestEmail
return {
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
to: toAddresses.join(","),
replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)],
subject: `${this.t("event_awaiting_approval_subject", {
title: this.calEvent.title,
date: this.getFormattedDate(),
@@ -14,6 +14,7 @@ export default class OrganizerRescheduledEmail extends OrganizerScheduledEmail {
},
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
to: toAddresses.join(","),
replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)],
subject: `${this.calEvent.organizer.language.translate("event_type_has_been_rescheduled_on_time_date", {
title: this.calEvent.title,
date: this.getFormattedDate(),
@@ -81,6 +81,7 @@ export default class OrganizerScheduledEmail extends BaseEmail {
},
from: `${APP_NAME} <${this.getMailerOptions().from}>`,
to: toAddresses.join(","),
replyTo: [this.calEvent.organizer.email, ...this.calEvent.attendees.map(({ email }) => email)],
subject: `${this.newSeat ? this.t("new_attendee") + ": " : ""}${this.calEvent.title}`,
html: renderEmail("OrganizerScheduledEmail", {
calEvent: clonedCalEvent,