CRON Setup

If your site becomes popular with TMail running at the backend, you'll need an efficient way to manage the large volume of emails you receive daily. Setting up a CRON job to delete old emails is a simple and effective solution.

Step-by-Step Guide to Setting Up a CRON Job for Deleting Old Emails

  1. Configure Delete Settings in Admin Panel:

  2. Set Your CRON Password:

  3. Create the CRON Job:

Example:

If your site URL is example.com and your CRON Password is yourpassword, your CRON job would look like this:

* * * * * wget -O /dev/null -o /dev/null https://example.com/api/cron/yourpassword

Copy code

* * * * * wget -O /dev/null -o /dev/null https://example.com/api/cron/yourpassword

This setup ensures that old emails are deleted according to the settings you've configured, keeping your email system clean and efficient.

Note:

By following these steps, you can efficiently manage and delete old emails using CRON with TMail.