Hi,
is there a limitation of importing emails from a postbox? I've send 10 emails to the mailbox and HESK imports only 5 emails; it skipps the others.
Regadrs,
Frank
--
HESK Version: 2.7.2
Mods for HESK Version: 3.0.3
PHP-Version: 5.4.45-0+deb7u2 (MySQLi)
MySQL-Version: 5.5.46-0+deb7u1
Email import limitation
Moderator: mkoch227
Re: Email import limitation
Hesk will skip duplicate emails (emails with the same subject and message) and emails from a "noreply" email address.
If you turn Debug mode to ON (admin panel > settings > help desk tab > Debug mode) and run hesk_pop3.php in the browser it should give more details about what is happening.
If you turn Debug mode to ON (admin panel > settings > help desk tab > Debug mode) and run hesk_pop3.php in the browser it should give more details about what is happening.
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: Email import limitation
Hi Klemen,
thank you for your answer.
The debug shows me the following details:
Best regards,
Frank
thank you for your answer.
The debug shows me the following details:
The emails were sent from a machine with different subjects and bodies like:There are 10 messages in the mail box with a total of 70000 bytes.
Parsing message 1 of 10.
Ticket Z7M-MXU-BS85 created/updated.
Parsing message 2 of 10.
Ticket 1DQ-61H-5P4G created/updated.
Parsing message 3 of 10.
Ticket 7YA-ANS-RP1R created/updated.
Parsing message 4 of 10.
Ticket 9NM-TQQ-41AW created/updated.
Parsing message 5 of 10.
Ticket QT3-7XJ-3V1H created/updated.
Parsing message 6 of 10.
Ticket NOT inserted - may be duplicate, blocked or an error.
Parsing message 7 of 10.
Ticket NOT inserted - may be duplicate, blocked or an error.
Parsing message 8 of 10.
Ticket NOT inserted - may be duplicate, blocked or an error.
Parsing message 9 of 10.
Ticket NOT inserted - may be duplicate, blocked or an error.
Parsing message 10 of 10.
Ticket NOT inserted - may be duplicate, blocked or an error.
...subject: Test 1 body: Testmessage for Hesk No. 1
We often receive messages from machines. Not with the same subject/body but with a similar. How can we prevent hesk from skipping this mails?subject: Test 10 body: Testmessage for Hesk No. 10
Best regards,
Frank
Re: Email import limitation
Yes, it's either detected as a "noreply" email or as a duplicate email.
You can try modifying file inc/pipe_functions.inc.php:
1. backup it up
2. open it in a powerful text editor, such as the free Notepad++
3. just ABOVE this lineadd
4. save, upload and test
If that doesn't do the trick, try also Admin panel > Settings > Email tab > Email loops: Max hits
Set that to 0 and save changes.
You can try modifying file inc/pipe_functions.inc.php:
1. backup it up
2. open it in a powerful text editor, such as the free Notepad++
3. just ABOVE this line
Code: Select all
// Check noreply email addresses
Code: Select all
return false;
If that doesn't do the trick, try also Admin panel > Settings > Email tab > Email loops: Max hits
Set that to 0 and save changes.
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: Email import limitation
does the trick.Admin panel > Settings > Email tab > Email loops: Max hits
thank you

Regards,
Frank
Re: Email import limitation
Hi,
I have to reopen this topic.
I've set Email loops max hits to 0 and the time to 10. Also, I've inserted in pipe_functions between
function hesk_isReturnedEmail and the
// Check noreply email addresses
return false;
But the Mails will all skipped with Ticket NOT inserted - may be duplicate, blocked or an error. whether one message or 10 messages are in the inbox. The message is plain text with two attachments (screenshot with .png extension and a plaintext-log-file with .brp extension). The sender is Filename.exe
What else can I do to import this mail(s) into hesk?
Best regards ,
Frank
I have to reopen this topic.
I've set Email loops max hits to 0 and the time to 10. Also, I've inserted in pipe_functions between
function hesk_isReturnedEmail and the
// Check noreply email addresses
return false;
But the Mails will all skipped with Ticket NOT inserted - may be duplicate, blocked or an error. whether one message or 10 messages are in the inbox. The message is plain text with two attachments (screenshot with .png extension and a plaintext-log-file with .brp extension). The sender is Filename.exe
What else can I do to import this mail(s) into hesk?
Best regards ,
Frank