Enhance documentation for get_email command

This commit is contained in:
Christopher Broderick 2023-10-24 13:48:38 +01:00
parent 0d91fcca0b
commit 79150c74d2

View File

@ -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::