Hello, i have IMAP email and want to move them. Because if they stay at the inbox are considerer as new. But also I don't want to delete them for log reason. So the solution should move the email to another folder, I didn't find this feature in the configuration, so I do some changes on the code at
include/class.mailfetch.php
In the function fetchTickets are two lines that say:
if($deletemsgs)
imap_delete($this->mbox,$i);
if you want to move, add the two following lines after the lines from above
else
imap_mail_move($this->mbox,$i,'INBOX.old-messages');
Where INBOX.old-messages is a folder of hte IMAP.
Best regards
Álvaro Monares G.