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


1 Answer 1


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


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.