To create an event subscriber (using the E-Mail Event Subscriber plugin as an example):
- For the Event Settings plugin:
Create, for example an E-Mail Event Subscriber (Loginapp) plugin. - Configure the E-mail Service for sending the e-mail.
- Configure the Recipient Address Provider.
- Configure Subject Resource Key with the template to be used for the e-mail.
- Configure Body Resource Key with the template to be used for the e-mail.
- Optionally enable the Send As HTML feature.
- Create a plugin for the Event this subscriber should handle.
- Optionally: Configure one or more Value Map Providers to use additional variables with the template.
- This consumer will handle one particular type of event and send an e-mail to the end-user mail recipient for events triggered by the Loginapp module.