Forum

[SOLVED] Cannot set...
 
Notifications
Retirer tout

[SOLVED] Cannot set working imap string for Exchange IMAP connection

3 Posts
2 Utilisateurs
0 Reactions
2,272 Vu
(@bvd)
Posts: 124
Active Member
Début du sujet
 
[#7017]

HI,

is there a way to get imap connection working with an exchange imap server ?

F1 documentation lookup didn't helped me.

The string used is : {mail.domain.com:143/imap/notls}INBOX

The logs in degub mode give us :

2020-11-05 11:21:50.644 ===== TRACE ===== Cron::run() - Error on checkEmails()
2020-11-05 11:21:50.645 ** ERROR ** [V8.6.3] ERROR **
2020-11-05 11:21:50.645
** ERROR ** [V8.6.3] on file '/var/www/html/pilot/model/ImapMailbox.php' at line (86)
2020-11-05 11:21:50.645
** ERROR ** [V8.6.3] cause = imap_open(): Couldn't open stream {mail.domain.com:143/imap/notls}Inbox
2020-11-05 11:21:50.645
** ERROR ** [V8.6.3] imap_open(): Couldn't open stream {mail.domain.com:143/imap/notls}Inbox in ImapMailbox.php at line 86
2020-11-05 11:21:50.645
** ERROR ***** [V8.6.3] Error while executing CRON script : fix the source issue and manually restart the CRON Process

What kind of username formatting do we need ?

NB : mail.domain.com is not the hostname of our mail server, just an example replacement there

Regards


 
Posté : 5 Nov PM 13:1111
(@babynus)
Posts: 14952
Membre Admin
 

Check configuration of server.
Does it allow remote connections on port 143.?
Is the IMAP server configured on port 143 ?
Are you sure about the /notls option ? I saw /ssl /nossl /tls but never /notls. Possibly you could try with other option or without an option.
Also try INBOX in upper case.


 
Posté : 5 Nov PM 21:1111
(@bvd)
Posts: 124
Active Member
Début du sujet
 

Hi,

We finally got it working.

It was an Exchange 2019 issue based on connectors definition.

I close this thread.

Regards


 
Posté : 6 Nov PM 13:1111
Share:
Retour en haut