2

Can you please tell me how can i send confirmation email to our server if someone uninstalled our extension or package.

Thanks.!

1 Answer 1

0

You can create Uninstall class for Magento 2 modules only!

There you can send emails if someone uninstall the extension from CLI with

magento module:uninstall {Module_Name}

Have a look at these two pages: http://devdocs.magento.com/guides/v2.0/install-gde/install/cli/install-cli-uninstall-mods.html

http://inchoo.net/magento-2/setup-scripts-magento-2/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.