Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 1, 20213 yr 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, 20213 yr by Linux-Is-Best
November 11, 20222 yr 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
November 11, 20222 yr 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' );
November 11, 20222 yr 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.
November 11, 20222 yr 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