Hello,
I've been stuck on automatic ticket configuration via email for a while.
Whatever the configuration, I am left with an error message in the logs.
need help plz :/
2021-01-15 14:38:00.983 ** ERROR ** [V9.0.2] ERROR **
2021-01-15 14:38:00.983 ** ERROR ** [V9.0.2] on file '/var/www/html/projeqtor/model/ImapMailbox.php' at line (86)
2021-01-15 14:38:00.983 ** ERROR ** [V9.0.2] cause = imap_open(): Couldn't open stream imap.webmail.******.fr:993
2021-01-15 14:38:00.983 ** ERROR ** [V9.0.2] imap_open(): Couldn't open stream imap.webmail.*.fr:993 in ImapMailbox.php at line 86
2021-01-15 14:38:00.984 ** ERROR ** [V9.0.2] Error while executing CRON script : fix the source issue and manually restart the CRON Process
2021-01-15 14:38:00.984 ===== TRACE ===== Cron::run() - Error on checkEmails()
Reference to server mazilbox is incorrect or user/password for the mailbox is incorrect.
If you can, check the imap server foir errors : possibly rejectionj logged will bez more excplicit.
Hello,
thank you for your help.
The problem was with the connection string. The imap does not work internally.
I now have another problem, tickets are created endlessly ... (the same email will create a ticket every 10 seconds .. and I don't understand why)
Possibly the credentials to the mailbox have readonly access.
The mails are marked as read when treated, so if they do not move to read, they are ocntinuously treated
I had this doubt too.
So I put a rule "marked as read" to each email received automatically. Unfortunately, it does the same.
So possibly your filter criteria is wrong.
in parameter.php, try and add (or change)
$imapFilterCriteria='UNSEEN UNDELETED';
Hi,
I did add lines in models and views (both parameters.php files)
However I still have this problem that arises.
I removed my rule of "mark as read" on my email address (microsoft messaging) and I see that the emails are indeed marked as read as soon as the corresponding ticket is created, but continue to create tickets in a loop.
I specify that my connection string is of the type:
{webmail.*********/pop/notls}INBOX
I did add lines in models and views (both parameters.php files)
It's none of them that need to be changed, it is the one whose location is defined in file /tool/parametersLocation.php.
Default location is files/config, but this should be changed to securise the instance.
Hello,
Ah yes, so I added this parameter to the file, but unfortunately it does not solve the problem of looping ticket creation. (I rebooted the server after modifying the file)
In the attached screen, there are only two mails in the box, and they are both already read.
Thank you very much for your help =)
