If you need to enable or disable the TMail log file located at /storage/logs/tmail.csv, follow these steps:
Open the .env File: Navigate to the root directory of your project and open the .env file for editing.
Locate the ENABLE_TMAIL_LOGS Setting:
If the line ENABLE_TMAIL_LOGS=false is present, you can modify it to enable or disable logging.
Change the value to true to enable logging:
ENABLE_TMAIL_LOGS=trueCopy code
ENABLE_TMAIL_LOGS=true
Change the value to false to disable logging:
ENABLE_TMAIL_LOGS=falseCopy code
ENABLE_TMAIL_LOGS=false
Add the Setting if Missing:
If you do not find the ENABLE_TMAIL_LOGS line in your .env file, simply add it at the end of the file. For example, to disable logging, add:
ENABLE_TMAIL_LOGS=falseCopy code
ENABLE_TMAIL_LOGS=false
Save the File: After making the necessary changes, save the .env file.
These steps will enable or disable the TMail log file according to your preference.