Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Cannot set...
 
Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
2,289 Views
(@bvd)
Posts: 124
Active Member
Topic starter
 
[#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


 
Posted : 05 Nov 2020 13H41
babynus
(@babynus)
Posts: 14966
Main Contributor 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.


 
Posted : 05 Nov 2020 21H26
(@bvd)
Posts: 124
Active Member
Topic starter
 

Hi,

We finally got it working.

It was an Exchange 2019 issue based on connectors definition.

I close this thread.

Regards


 
Posted : 06 Nov 2020 13H15
Share:

Scroll to Top