I am using an onAfterWrite on a dataobject to send an email to the user and admins if an order is cancelled.
For some reason, it can't find any of the templates in the mytheme/templates/Email folder and all I'm getting is a blank email and the following error:
None of these templates can be found in theme 'simple': Cancel.ss
I have also tried to use an email template that I know works and that also fails.
Any ideas? The templates are found when a called from a controller.
Is there something I'm missing or that is different when called from modeladmin?