2

I'm creating a new Drupal site and importing users from our existing website. I want to make sure users don't receive any email notifications of any kind from our new website during this process. What things should I check to ensure this?

I am using Drupal 7.54.

1

You can turn off user mail on registration in account settings.

/admin/config/people/accounts

or if you'd like to see what is being sent by the system, but not have it go out to your users checkout the MailLog module. We use it to test email functionality during development. It has a checkbox to turn off all mail going out from your Drupal site.

|improve this answer|||||
3

You can use the Development Environment module for this. Some more details about it (from the project page):

When developing Drupal sites, we are often working in a development environment in which we want behaviors different than we would like on a production environment. An example of this is sending emails - it's often preferable to not send emails from a development environment, as they can end up in our client's email boxes. This is particularly true when there is a production (live) version of the site on the web, as users may receive emails from your development environment, which will be both confusing, and any links to the site within the emails will be unusable by anyone without access to that development environment.

This module aims to provide various settings which are specific to development environments only.

Disclosure: I developed this module.

|improve this answer|||||
2

You could use the Reroute Email module. From its project page:

This module intercepts all outgoing emails from a Drupal site and reroutes them to a predefined configurable email address.

This is useful in case where you do not want email sent from a Drupal site to reach the users. For example, if you copy a live site to a test site for the purpose of development, and you do not want any email sent to real users of the original site. Or you want to check the emails sent for uniform formatting, footers, ...etc.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.