If you need to enable or disable the TMail log file located at /storage/logs/tmail.csv, follow these steps:

  1. Open the .env File: Navigate to the root directory of your project and open the .env file for editing.

  2. 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=true

      Copy code

      ENABLE_TMAIL_LOGS=true

    • Change the value to false to disable logging:

      ENABLE_TMAIL_LOGS=false

      Copy code

      ENABLE_TMAIL_LOGS=false

  3. 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=false

      Copy code

      ENABLE_TMAIL_LOGS=false

  4. 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.