From 79150c74d281fdeb09b899a75528cf0e18b0e44d Mon Sep 17 00:00:00 2001 From: Christopher Broderick Date: Tue, 24 Oct 2023 13:48:38 +0100 Subject: [PATCH] Enhance documentation for get_email command --- docs/configuration.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/configuration.rst b/docs/configuration.rst index cead52f1..714a18d5 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -22,6 +22,13 @@ Before django-helpdesk will be much use, you need to do some basic configuration If you wish to use `celery` instead of cron, you must add 'django_celery_beat' to `INSTALLED_APPS` and add a periodic celery task through the Django admin. You will need to create a support queue, and associated login/host values, in the Django admin interface, in order for mail to be picked-up from the mail server and placed in the tickets table of your database. The values in the settings file alone, will not create the necessary values to trigger the get_email function. + + DEBUGGING EMAIL EXTRACTION + ========================== + You can run the management command manually from the command line with additional commands options: + **debug_to_stdout** - set this when manually running the command from a terminal so that additional debugging about which queues are being processed is written to stdout (console by default) + For example: + **/path/to/helpdesksite/manage.py get_email --debug_to_stdout** 4. If you wish to automatically escalate tickets based on their age, set up a cronjob to run the escalation command on a regular basis::