Sign Up or Log In

You have no items in your shopping cart.

Xtension Galaxy

Human Element Dev Tools - Email Redirect

Email Redirect allows a developer to redirect all email from a Magento store to a specific address.

Human Element Dev Tools - Email Redirect

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 all email. 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 set Enable email redirects to Yes
  2. In the Allowed Domain Names field you specify the domain names Magento is allowed to send e-mails. This can be a single domain or a comma separated list.
  3. In the Route all customer email to 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.

    Additionally, this tool creates a separate log file If system logging is enabled. A log file called he_devtools.log detailing it's actions.

This product has been tested on Magento EE 1.11 and 1.12 and should work on all versions later than CE 1.5 and EE 1.10

NOTE:This does not prevent the BCC recipients from receiving email, only the TO fields are modified

Versions History

Version : 1.0.0

This is the initial version of the email redirect tool

Have a question?

This extension is not supported through Xtension Galaxy by a developer.

If you are the developer who authored or maintains this extension, please register a Listing Member account to participate and optionally, sell extensions in this marketplace.

Write a Review

* Required Fields