Script URL:
Mods for HESK version: 2018.2.0
HESK version: 2.8.2
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I am having an issue with due date and overdue tickets.
i have a number of tickets with due dates that has past (some by 3 weeks) but no overdue email - tickets owned by me and other staff, none of us still have got an overdue email
i have a cron job on Mail/hesk_imap.php and Cron/calendar_reminders.php every 1 minute
The Response for the cron job is:
Starting Calendar Reminders...
Finished Calendar Reminders. 0 reminder e-mails sent. 0 emails failed to send.
Starting Overdue Tickets...
Finished Overdue Tickets. 0 e-mails sent. 0 emails failed to send.
I have a 2nd support desk on a different server and that one is not sending overdue emails
have I missed something?
Overdue tickets not sending emails
Moderator: mkoch227
Overdue tickets not sending emails
Last edited by Matt3147 on Mon Jan 07, 2019 10:31 am, edited 1 time in total.
Re: Overdue tickets not sending emails
If the reminder process isn't finding any overdue tickets, check to see if the "overdue email sent" flag is set by running the following SQL query against your database:
(where "hesk_" is your table prefix)
If the value returned is 1, it means that an email was already sent for this ticket and no additional emails will be sent. If it is 0, then an email was not sent.
Code: Select all
SELECT `overdue_email_sent` FROM `hesk_tickets` WHERE `trackid` = 'the ticket tracking id here';
If the value returned is 1, it means that an email was already sent for this ticket and no additional emails will be sent. If it is 0, then an email was not sent.
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Overdue tickets not sending emails
Thanks for the reply,
I have done a SQL query
all the tickets with due dates I did a query for had "NULL"
is there a workaround on this issue or .........
Thanks
I have done a SQL query
all the tickets with due dates I did a query for had "NULL"
is there a workaround on this issue or .........
Thanks
Re: Overdue tickets not sending emails
Those shouldn't be null, so that's something I'll have to look into (NULL =/= 0, so that's why none of them are being picked up). Try making the following change and see if it works:
Find the following in cron/calendar_reminders.php on line 141:
Change it to:
Save, upload, and test.
Find the following in cron/calendar_reminders.php on line 141:
Code: Select all
AND `overdue_email_sent` = '0'";
Code: Select all
AND COALESCE(`overdue_email_sent`, '0') = '0'";
Mike, Lead Developer of
HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Re: Overdue tickets not sending emails
change the files, and uploaded
the system then sent a number of overdue tickets
Yes, it is working !!
Thank you so much !!
the system then sent a number of overdue tickets
Yes, it is working !!
Thank you so much !!