Jump to content

Featured Replies

Posted

I wish for the option (in a future release) to disable any and all outgoing e-mails from the system. Have you lost your password? Make a new account. Want to be notified? Log in and check your notifications. The ideal setup would be for there to be no outgoing e-mail at all. I notice there is already the option not requiring e-mail confirmation when registering (that's a good start).

Edited by Linux-Is-Best

  • 1 year later...

Im also looking a solution on this, especially for a dev staging where data is from live database, and don't want to send notifications from dev site.

-Allan

You can add the following to your constants.php (create one starting with <?php and a newline if you don't have one yet):

\define( 'EMAIL_DEBUG_PATH', '/dev/null' );

I would personally disable mail on the dev server itself. Why risk ANYTHING sending mail from the lower environment?  I would also block the outgoing mail in the firewall ACL as well. 

33 minutes ago, Daniel F said:

You can add the following to your constants.php (create one starting with <?php and a newline if you don't have one yet):

\define( 'EMAIL_DEBUG_PATH', '/dev/null' );

Thank you for this

-Allan

Recently Browsing 0

  • No registered users viewing this page.