Posted on

Magento 2: limit staging emails to dev only

Just realized that our staging environment is sending out emails to customers, which is not good.

How can I limit the emails to developers only? Ideally I would like to:

provide a list of allowed emails
provide a default email to which all emails not in “allowed” list would be
routed to

Already did a google search and didn’t come up with anything useful.

Leave a Reply

Your email address will not be published. Required fields are marked *