[development] Turning off sending of email and user_save
brian at fendinggroup.com
Wed Oct 26 21:52:05 UTC 2011
You could also hook_mail_alter to change $message['to'] where the server
name (or host name, but I use `uname -n` instead) does not match your
production. I recommend this over reroute_mail especially if you have a
custom utilities.module or similar that you already use on the production
site. You fix it once and forget it.
On Wed, Oct 26, 2011 at 5:44 PM, Kristin Stromberg <kstromberg at gmail.com>wrote:
> You can disable various email notifications under
> admin/config/people/accounts. On your development box, you might want to use
> the reroute email module (http://drupal.org/project/reroute_email)
> On Wed, Oct 26, 2011 at 2:40 PM, Iain William Wiseman <
> iwiseman at bibble.co.nz> wrote:
>> Is there a way to turn off sending of e-mail when updating user accounts.
>> My understanding is that e-mails are sent when an account changes from
>> inactivate to active. Love the functionality but testing with real data
>> makes this inconvenient. On my development box I have turned off the MTA but
>> this could easily be forgotten in future testing.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the development