Page 1 of 1
Microsoft Outlook using POP protocol
PostPosted:Fri Jun 28, 2024 10:14 am
by MarcoOliveira
Hello.
I'm trying to connect my Outlook to OpenKM.
I plan to use the
pop protocol to get the emails from my mailbox.
Currently I get the following error:
https://prnt.sc/qLNm2loFWa_0
SMTP works perfectly as follows.
https://prnt.sc/FhK6-oMYdW5U
Can anyone help me with using the pop protocol?
Version: 6.3.12 CE
Another question, how i can force OpenKM to use SSL or TLS?
Re: Microsoft Outlook using POP protocol
PostPosted:Fri Jun 28, 2024 10:42 am
by MarcoOliveira
I suspect that the problem is also related to security protocols (SSL and TLS) is there a way to force the use of one or the other?
Re: Microsoft Outlook using POP protocol
PostPosted:Mon Jul 15, 2024 6:27 am
by jllort
Share the section openkm.log stack trace error -> maybe it gives some clue about this error.
Please share into text file ( do not copy & paste here all the stack trace error , thanks )
Re: Microsoft Outlook using POP protocol
PostPosted:Mon Jul 15, 2024 8:33 am
by MarcoOliveira
Here is the file with the error obtained in the OpenKM.log file. Please confirm that you can download the document.
PS.: I've tried with the normal account password and also with the password for applications.
Thanks for help, one more time.
Re: Microsoft Outlook using POP protocol
PostPosted:Tue Jul 30, 2024 7:11 am
by jllort
The error is clear:
Couldn't connect to host, port: outlook.office365.com, 995; timeout -1
java.io.IOException: Couldn't connect to host, port: outlook.office365.com, 995;
You can not connect to port 995 -> check the allowed ports configuration etc..
Re: Microsoft Outlook using POP protocol
PostPosted:Fri Aug 16, 2024 3:32 pm
by MarcoOliveira
Hello.
@jilort, in the last reply I sent the wrong document.
The log i give you is not that. I send the correct log attached, which gives me in the logs!
Attention: I have already tried with the normal Outlook password and with the password I created "password for applications". In both I get this error.
Sorry I thanks for help!

Re: Microsoft Outlook using POP protocol
PostPosted:Mon Aug 19, 2024 4:55 pm
by jllort
It continues showing the same error "Logon failure: unknown user name or bad password." I suggest checking the connection data with a regular email client.
Another problem could be the mail.jar library ( you should find it in the tomcatXXX/libs ) but for the description of the error it does not seem it be the reason why wail.
Re: Microsoft Outlook using POP protocol
PostPosted:Tue Aug 20, 2024 11:10 am
by MarcoOliveira
I don't know what else to do. I've tried with both passwords and it always gives this error. On another client it works perfectly.
Re: Microsoft Outlook using POP protocol
PostPosted:Thu Sep 26, 2024 6:58 am
by jllort
Maybe it is something with Outlook service because of security configuration there.
Another possibility ( you are using old mail library in the tomcat/lib folder )
I think in the tomcat/lib you may have mail-1.5.jar file -> could try to upgrade to the latest version ( I suggest backup the previous jar before replacing by the newer )
You can download from
https://mvnrepository.com/artifact/com. ... mail/1.6.2 ( watch in the files row )