Forum

impossible to confi...
 
Notifications
Retirer tout

impossible to configure automatic ticket from mails

9 Posts
2 Utilisateurs
0 Reactions
4,684 Vu
(@scud167)
Posts: 14
Eminent Member
Début du sujet
 
[#7206]

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()


 
Posté : 15/01/2021 4:53 pm
(@babynus)
Posts: 14952
Membre Admin
 

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.


 
Posté : 15/01/2021 7:09 pm
(@scud167)
Posts: 14
Eminent Member
Début du sujet
 

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)


 
Posté : 10/02/2021 6:20 pm
(@babynus)
Posts: 14952
Membre Admin
 

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


 
Posté : 10/02/2021 6:43 pm
(@scud167)
Posts: 14
Eminent Member
Début du sujet
 

I had this doubt too.
So I put a rule "marked as read" to each email received automatically. Unfortunately, it does the same.


 
Posté : 10/02/2021 6:47 pm
(@babynus)
Posts: 14952
Membre Admin
 

So possibly your filter criteria is wrong.
in parameter.php, try and add (or change)

$imapFilterCriteria='UNSEEN UNDELETED';

 


 
Posté : 10/02/2021 9:01 pm
(@scud167)
Posts: 14
Eminent Member
Début du sujet
 

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

 
Posté : 11/02/2021 12:04 pm
(@babynus)
Posts: 14952
Membre Admin
 

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.


 
Posté : 11/02/2021 10:14 pm
(@scud167)
Posts: 14
Eminent Member
Début du sujet
 

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 =)
 


 
Posté : 12/02/2021 12:49 pm
Share:
Retour en haut