Linux-Is-Best Posted June 1, 2021 Posted June 1, 2021 (edited) 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 June 1, 2021 by Linux-Is-Best SeNioR- 1
Nigel Moore Posted November 11, 2022 Posted November 11, 2022 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
Daniel F Posted November 11, 2022 Posted November 11, 2022 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' ); SeNioR- and Nigel Moore 2
Randy Calvert Posted November 11, 2022 Posted November 11, 2022 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.
Nigel Moore Posted November 11, 2022 Posted November 11, 2022 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
Recommended Posts