Hi,
I found two hooks concerning notifications:
- Mail::send
- PKPNotificationOperationManager::sendNotificationEmail
When using the second one, I can identify the notification (via $notification->getType()), but in order to change variables of the corresponding emails (e.g. change the email subject of 0x100001F-Notifications), it seems to be necessary to use the Mail::send hook. When using this hook, is there a way to identify the notification? The email key only gives me NOTIFICATION for all kinds of notifications and I couldn’t find a way to get the notification object.
Thanks,
Carola