View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Comment fonctionne l'automate de récupération d'email afin de mettre à jour les tickets - Page 2 - ProjeQtOr
 
 

Comment fonctionne l'automate de récupération d'email afin de mettre à jour les tickets

More
13 Jan 2014 18:52 #7 by Martin
Hi again

Here a print screen after trying IMAP commands...
We see that's INBOX is the good one...

Really strange
Attachments:

Please Log in or Create an account to join the conversation.

More
13 Jan 2014 19:42 #8 by babynus
Seems correct.

Are your emails in /INBOX or /INBOX/Test ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 09:26 #9 by Martin
Hello,

I tried to place them in both, but they arrive in th INBOX one

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 10:01 #10 by babynus
Could you try to change filter ot search mails.
In /model/CRON.php, line 482 :
$mailsIds = $mailbox->searchMailBox('UNSEEN UNDELETED');

Try to change filter to 'UNSEEN' or 'ALL'.

Important, to take changes into accound, be sure to stop and retart the CRON in the administration screen.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 11:04 #11 by Martin
I tried with "UNSEEN", same story, in the log I have a line that mailbox is empty

I tried with 'ALL' last line in the log is that the cron has bee started, but no more line that the mailbox is empty :(
But nothing is updated in the ticket

I did the stop and start of the cron

I don't know how to interprete these results

Thanks for your help

M

Please Log in or Create an account to join the conversation.

More
14 Jan 2014 11:42 #12 by babynus
So, next step is, with filter "ALL", to add some debugging lines.

First, set $debugLevel=3; in your parameters.php file

Then, add debugging lines. For instance, line 492 :
$body=$mail->textPlain;
debugLog($body);
You'll then be able to see which messages are retrieved, and maybe understand why they are not correctly treated.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.050 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.