Joy Rex Posted August 23, 2017 Posted August 23, 2017 I'm currently getting my 4.2 upgrade tweaked in a development environment, and although the Commerce module is disabled, I have gotten emails from members (we took a snapshot of our 3.4.9 install and upgraded in development) with renewal notices from the development environment! Is there another setting I can switch this off while we work on the dev environment?
Stuart Silvester Posted August 23, 2017 Posted August 23, 2017 Yes, you can disable outbound email by enabling email debugging. Please refer to the instructions contained within this guide
Joy Rex Posted August 23, 2017 Author Posted August 23, 2017 @Stuart Silvester - thanks - I assume you're referring to this section of the manual: Quote Email Debugging For power users, you can write full email logs to disk. If you need to debug the emails being sent from the Suite, you can create a folder named _mail (with appropriate write permissions) in your Suite root directory, and then add in your constants.php (editing the example path provided): define( 'EMAIL_DEBUG_PATH', "/full/path/to/the/folder/_mail" ); This will cause every email to be logged to a flat file under this _mail folder. The email will not actually be sent. You should not leave this on for long, especially on a production forum. The emails will not be delivered to the recipients The files written are in plain text, and viewable via a web browser if you know the correct URL A high-traffic forum can generate many hundreds or thousands of debug files in a day The debug switch is useful, however, to determine the raw contents of the email being sent to identify any problems, and to confirm the emails you expect to send are being generated and passed to the mail transport agent. So create a folder named "_mail" at the install root, and then add that line to the constants.php folder, correct?
Stuart Silvester Posted August 23, 2017 Posted August 23, 2017 Yes, although you can name the folder whatever you want. You will need to change the path in that line to be the full absolute path to your folder.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.