This commit is contained in:
Oliver Davies 2015-06-14 03:27:41 +01:00
parent 1f815ba7bc
commit eb3dbc40bb
116 changed files with 1123 additions and 1123 deletions

View file

@ -2,11 +2,11 @@
title: Configuring the Reroute Email Module
nav: blog
tags:
- drupal
- drupal-6
- drupal-7
- drupal-planet
- email
- drupal
- drupal-6
- drupal-7
- drupal-planet
- email
draft: true
---
[Reroute Email](https://www.drupal.org/project/reroute_email) module uses `hook_mail_alter()` to prevent emails from being sent to users from non-production sites. It allows you to enter one or more email addresses that will receive the emails instead of delivering them to the original user.
@ -39,10 +39,10 @@ If you want to add multiple addresses, these should be added in a semicolon-deli
~~~php
$conf['reroute_email_address'] = implode(';', array(
'person1@example.com',
'person2@example.com',
'person3@example.com',
'person1@example.com',
'person2@example.com',
'person3@example.com',
));
~~~
In this example, person2@example.com and person3@example.com would receive their emails from the site as normal. Any emails to addresses not in the array would continue to be redirected to person1@example.com.
In this example, person2@example.com and person3@example.com would receive their emails from the site as normal. Any emails to addresses not in the array would continue to be redirected to person1@example.com.