Page 1 of 1

Multiple emails

Posted: Sun Mar 06, 2016 3:25 pm
by lafore
Script URL: www.hardbloccafe.de/helpdesk
Version of script: 2.6.6
Hosting company: starto.de
URL of phpinfo.php: http://www.hardbloccafe.de/helpdesk/phpinfo.php
URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: pop3 email multiple

Write your message below:
I want to use pop3 fetching to create tickets. It's working but I also want to keep a copy of the email on the pop3 server. Now every time when I run the hesk_pop3.php file it creates new tickets from all old emails. How can I prevent this?

Re: Multiple emails

Posted: Sun Mar 06, 2016 3:32 pm
by Klemen
The problem is POP3 protocol doesn't provide any means of marking messages as read. Some servers/providers have self-developed means of doing that (for example Gmail) hence the "leave a copy on server" option, but it is not something that should be used with standard POP3.

A better solution would for example be to use 2 email addresses:

pop3@you
pop3_copy@you

Send all emails to pop3@you and set the email account to automatically copy all emails to the second account pop3_copy@you

Then have HESK fetch emails from the copy account.

This way you keep all the original emails intact (pop3) and HESK can fetch all the copies (pop3_copy) then delete them to make sure duplicates aren't generated.