Hello everyone,
i want to develop an App that will send Email to every admin when an App is enabled or disabled. please can someone help me with a function that can send email to admin?
I have tried with some given functions but it doesn’t work. Something should be lacking.
Yes it serves me as an example. In AppManagement.php in the place of log function i instead called the mail function to send email but it doesn’t still work. please check it in the link.
Maybe you add some logging or write a file on disk to check if the email is the problem or your app is not loaded/invoked
Hard to judge without seeing the full app code/repo
i have added the missing part in the info.xml and i updated the App version as you said. But it still doesn’t work. May be the events have not been logged or something else.