The 'Contact Registrant' and 'Resend Mail' forms are not replacing the subject and message tokens

Created on 20 January 2025, 4 months ago

Problem

The 'Contact Registrant' and 'Resend Mail' forms are not replacing the subject and message tokens after submission. These are 'custom' emails and the 'recurring_events_registration_mail' hook_mail is not replacing the tokens before sending the email.

Steps to reproduce

  1. Access: /events/[eventinstance:id]/registrations/contact
  2. Add event instance tokens in the subject or message field
  3. Send email
  4. Access: /events/[eventinstance:id]/registrations
  5. Choose any registration and select 'Resend mail' on the 'Operations' column
  6. Resend email

Proposed resolution

Use the 'NotificationService' to replace the tokens.

🐛 Bug report
Status

Needs work

Version

2.0

Component

Recurring Events Registration (Submodule)

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024