Jump to content

Dev/Test site - Prevent Emails from sending


Administrator
 Share

Recommended Posts

On a test or developer site, if you want to prevent the system from sending emails, add the following to your constants.php file.  If you enter a valid path it will log any emails a file, if you don't need that then enter the second option of /dev/null/

define( 'EMAIL_DEBUG_PATH', "/home/user/devmail");
define( 'EMAIL_DEBUG_PATH', "/dev/null");
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...