From d7b6a765351040c72c6358c4b4c1da63e2f06ebb Mon Sep 17 00:00:00 2001 From: Kenneth Lee Date: Fri, 4 Oct 2024 13:07:31 +0100 Subject: [PATCH] CAPT-1779 Update Reminder email * Remove unused personalisation fields * Update reply-to-id --- app/mailers/reminder_mailer.rb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/mailers/reminder_mailer.rb b/app/mailers/reminder_mailer.rb index 9369c37448..20a6cc7197 100644 --- a/app/mailers/reminder_mailer.rb +++ b/app/mailers/reminder_mailer.rb @@ -37,12 +37,9 @@ def reminder_set(reminder) def reminder(reminder) @reminder = reminder support_email_address = translate("additional_payments.support_email_address") - service_start_page_url = Journeys::AdditionalPaymentsForTeaching.start_page_url + personalisation = { - first_name: extract_first_name(@reminder.full_name), - support_email_address: support_email_address, - itt_academic_year: @reminder.itt_academic_year, - service_start_page_url: service_start_page_url + support_email_address: support_email_address } send_mail(REMINDER_APPLICATION_WINDOW_OPEN_NOTIFY_TEMPLATE_ID, personalisation) @@ -58,7 +55,7 @@ def send_mail(template_id, personalisation) template_mail( template_id, to: @reminder.email_address, - reply_to_id: Policies::EarlyCareerPayments.notify_reply_to_id, + reply_to_id: GENERIC_NOTIFY_REPLY_TO_ID, subject: @subject, personalisation: )