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 <[email protected]>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 < > [email protected]> wrote: > >> Hi, >> >> 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. >> >> Thanks, >> Iain >> > >
