Web Analytics

Fill the form & Get Installation Support

How to send mail to admin after customer signup front-side in Magento 2?

By default in Magento 2 does not provide the mail functionality to admin when new customers signup. It means no email will be sent to the admin when a customer registers with the front side.

If you want to get the mail sent to admin when new customer signup happens then do follow below steps:

Step 1: Create a registration file like

 

Step 2: Create event file like

 

Step 3: Create module file like Magemonkey/MailtoAdmin/etc/module.xml

 

Step 4: Create PHP file in Magemonkey/MailtoAdmin/Observer/MailtoAdmin.php

 

Step 5: Then after run the below commands.

 

That’s it…

Now clean the cache and check it by creating new customer signup. You will find the mail of new customer’s sign up.

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Hire R. Patel

    Get a Free Quote





      /* second popup */

      Connect With Us