Hi All
I have osTicket setup with following details:
- PHP 5.6
- Ubuntu 16.04
- MySQL 5.6
- osTicket 1.10
I need to fetch ticket in FIFO order (default is LIFO to support the scenario where mails are not moved to different folder). To do this, came across a post where people did the following change and it worked well for them.
Change line 834 in include/class.mailfetch.php from:
for($i=$nummsgs; $i>0; $i--) { //process messages in reverse.
to
for($i=1; $i
But for me, it throws the following error and the mails get dropped. Since my environment gets good number of tickets, and fetching mails in LIFO creates multiple tickets if there are 2 or more updates on a new mail thread in between 2 fetches.
Problem Log ->>PHP Warning: imap_headerinfo(): Bad message number in /var/www/html/osTicket/upload/include/class.mailfetch.php on line 293
Any idea as to why this is happening?
TIA
M