I would like to send contact from contents to multiple E-Mail recipients, I checked there is no options for comma separated email address same like orders,shipping etc.
how to do that ?
Any help would be appreciated.
contact-usmagento2
I would like to send contact from contents to multiple E-Mail recipients, I checked there is no options for comma separated email address same like orders,shipping etc.
how to do that ?
Any help would be appreciated.
Best Answer
You cannot do this with Magento2 default installation. You will need to create a custom module that overrides the method sendEmail() from the \vendor\magento\module-contact\Controller\Index\Post.php:
As you can see by default it sends to only one email( the one you set in the admin panel). To create a custom module follow the video from here. And here is a nice tutorial about overriding classes.