POP3 Fetching
Moderator: mkoch227
POP3 Fetching
Is there a way of ensuring that emails are left when they are turned into tickets through POP3 fetching? Currently Hesk deletes the email when it fetches it, but I would like it to remain for archiving
Re: POP3 Fetching
To do that you will need to delete this code from inc/mail/hesk_pop3.php:
Version 2.5 will have a settings option for this so it will be easier to control.
Code: Select all
$pop3->DeleteMessage($message);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: POP3 Fetching
I tried it but unless you remove the email from the inbox straight away, it keeps on creating a ticket everytime it checks the account. Is there anyway to stop this?
Re: POP3 Fetching
There is no "mark as read" POP3 command so the only way to do this if your server continues sending messages that have been retrieved with the POP3's RETR command is to store unique messages IDs in a database and track them/download only those that aren't in the database. Not something I can help code though.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools