HE_DevTools_EmailRedirect

Magento Extension
Download latest - 1.0.0

When maintaining a Magento store, developers often need to copy the database from the live site to a development server. Once the live data is installed in the dev environment, you need to be absolutely certain that customer emails are not accidentally sent from the development environment. This can cause a lot of confusion for clients and customers.

Using Magento’s configuration settings you can block all email from being sent by disabling email sending. This setting is found in System Configuration menu under Advanced/System/Mail Sending Settings. This method is an all or nothing way to solve the problem. However it's not always practical, because you may want to send mail to test the mail templates or some other e-mail related functionality.

So this is where the new Human Element Dev Tools module Route Customer E-mail comes into play.

With this module, you can tell Magento which domain names it's OK to send e-mail to (i.e. the domains of your company and your client) and where to route all other customer e-mails (i.e. a testing email address).

The interface is simple system configuration panel which should appear near the Advanced settings section at the bottom of the configurations list.

To set up the redirects, just follow these simple steps –

1) Open up the Route Customer Email panel and enable the Email Redirects
2) In Allowed |Domain names field you specify which domain names it's OK to send e-mails to. This can be a single domain or a comma separated list.
3) In the last field enter the one e-mail address where all other e-mails will be re-routed (if they're not sent to someone in the allowed domain names list).

Once enabled and setup with both fields (note – you must enter data in both the Allowed Domains and the Route Email fields for the module to operate) any e-mails Magento sends to addresses that are not in the allowed domain name list are redirected to the entered e-mail address.

When you're done using the redirector, simply disable it by setting Enable email redirects drop-down to No. When the module is disabled, e-mail function will return to normal.

To uninstall the module simply remove it from the Magenta file system. This module makes no modifications to the database and can safely deleted without any other changes to Magento.

Releases (1)

Date Version Notes
2012-12-19 1.0.0

This is the first release