Configuring a Post-Event Email to Event Registrants

How to configure a custom email that is sent to all registrants of an event, after the event ends.

1. First, you need to ensure there is a 'periodic task' configured on the site with the task:
event_app.tasks.send_post_event_ending_registrant_email_task

You can set this to run once a day with an 'Interval Schedule' of 'every day'

You can copy the following task on CCN:
https://ccnbikes.com/eventsquare/admin/panel/django_celery_beat/periodictask/66/change/

2. Then, configure a custom email with the following criteria:
'Trigger Type' = 'Post event ends'
'Receiver Type' = 'Registrant'
'Content type'  =  'event'
'Object id' = the ID of the event you want this email sent for

The email will be sent the next time the periodic task runs after the 'Event ends' date/time on the 'Event listing' associated with the event has passed. 

You can also set a value in the 'Delay minutes' field on the custom email, if you wish to delay this email by a period of time after the event ends - i.e. a followup email to registrants a week after the event.

The following variables can be used in these post-event custom emails:

You can look at this example for setup of this email:
https://ccnbikes.com/eventsquare/admin/panel/core_app/customemail/739/change/