Problem/Motivation

Could the events calendar send out automated reminder emails for Events. If someone signs up for an event well in advance of the Event, they get a fresh email that (A) reminds them the Event is happening and when and gives them a chance to cancel and/or increases their chance of attendance and (B) resends the Zoom or other online attendance link so that they do not have to go looking for it in the original confirmation.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

cameroncrobinson created an issue. See original summary.

owenbush’s picture

Hey Cameron,

It certainly could do this I would guess. I would need to think about how and where the configuration for that lives, whether it is a global config (for example to send an email x hours/days before all events), an event type config (for example to send an email x hours/days before a specific type of event), or an event specific config (for example to send an email x hours/days before a particular event).

cameroncrobinson’s picture

I would think that having it event specific would good since it would most likely vary by series.

owenbush’s picture

Hey Cameron, just to let you know I've started work on this. The branch open on gitlab so far contains the fields necessary to set up the reminders for an event series in a new submodule called recurring_events_reminders. It is storing the data as necessary, but nothing much else yet. The next step is to set up a cron task to loop through all the upcoming events and check whether there are reminders to send out, once a reminder is set we will also need to store a value in the database to indicate an email has been sent, to prevent a duplicate email being sent.

Hopefully I can get this buttoned up over the next week or so.

owenbush’s picture

Status: Active » Needs work
Issue tags: +rc eligible

owenbush’s picture

Status: Needs work » Needs review

I have finally finished putting together the changes to support a reminder email.

PLEASE BACKUP YOUR DATABASE BEFORE RUNNING THIS, AS THERE ARE SOME DATA STORAGE CHANGES MADE TO THE EMAIL NOTIFICATIONS.

Once you have patched/downloaded the latest version, then please run database updates first, this will convert the old way of storing notification configuration to the new way.

After that, you can enable the recurring_events_reminders submodule which will add some extra fields to event series. These fields allow you to configure how long before the start of the event instances a reminder should be sent, and allows you to write a tokenized message to send.

There are also changes made to the registrant settings in the admin, that allow you to enable/disable reminders globally, configure the subject, and also configure the message that gets sent. To use the message from the series, you need to use the token [eventseries:reminder_message].

You could in this way do something like this:

Dear [registrant:email],

Thank you for registering for an event on foobar.com.

[eventseries:reminder_message]

See you there,

Someone.

So you can wrap the series specific reminder message with some generic global reminder verbiage. Or if you choose, do not use the reminder_message at all and send something globally for all events.

Please let me know how this works out for you.

Patch URL: https://git.drupalcode.org/project/recurring_events/-/merge_requests/19....

owenbush’s picture

  • owenbush committed 552403d on 2.0.x
    Issue #3217367 by owenbush: Automated Reminders for Event Instances
    

  • owenbush committed 2c7230e on 8.x-1.x
    Issue #3217367 by owenbush: Automated Reminders for Event Instances
    
owenbush’s picture

Status: Needs review » Fixed

This has been merged. Thanks for raising the issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.