How to receive mail from POP3S server ?
PostPosted:Thu Mar 24, 2011 7:09 pm
Hi,
I am trying to prepare a demo for my team and i am trying to import all my emails from Microsoft Live Hotmail using there pop3 server.
I went into the interface "Edit mail account", for my user, I've setup my email account information like so :
I've searched the forum and found a few message refering to connection to GMail but nothing about Hotmail.
I tried all sorts of things using the information about GMail in the server/default/deploy/mail-service.xml file. Nothing works. Somehow i suspect the mail import process for users does not get configured thru this xml file. Soooooo.... i started to take a look at the OpenKM java code.
Found that the user interface was using the javax.mail library. I then proceeded to install the "msgshow" test program (found it on the web by downloading the library at http://www.oracle.com/technetwork/java/ ... 38643.html) using the javax.mail classes with the same parameters i was using in the interface and got the same result. At least, it was consistent.
Searched the Web and found out that hotmail was using secured connection to pop3 server (port 995). So i modified my parameters to the test program and changed "pop3" to "pop3s" as the protocol. BOOM it worked. This program could be usefull for others that run into the same kind of problem to diagnose it.
Looking again at the code i discovered that adding "pop3s" to the list of values in the application would be a easy fix. But to do that I would need to install the development environment (Eclipse, code, libraries, etc...) which would take a while.
So I am trying to find a workaround.
- Is there an easy work around to have "pop3" act as a "pop3s" within some configuration file ?
- Is there a fix that adds "pop3s" to the pulldown list in the interface ?
Your guidance would be appreciated.
I am trying to prepare a demo for my team and i am trying to import all my emails from Microsoft Live Hotmail using there pop3 server.
I went into the interface "Edit mail account", for my user, I've setup my email account information like so :
Code: Select all
And hit the "check" button.... Connect failed.Mail protocol : pop3
Mail host : pop3.live.com
Mail user : .....@live.ca
Mail password : xxxxxxxxx
Mail folder : /okm:mail/marc/
Mail mark seen : no
Mail mark deleted : no
Active : yes
I've searched the forum and found a few message refering to connection to GMail but nothing about Hotmail.
I tried all sorts of things using the information about GMail in the server/default/deploy/mail-service.xml file. Nothing works. Somehow i suspect the mail import process for users does not get configured thru this xml file. Soooooo.... i started to take a look at the OpenKM java code.
Found that the user interface was using the javax.mail library. I then proceeded to install the "msgshow" test program (found it on the web by downloading the library at http://www.oracle.com/technetwork/java/ ... 38643.html) using the javax.mail classes with the same parameters i was using in the interface and got the same result. At least, it was consistent.
Searched the Web and found out that hotmail was using secured connection to pop3 server (port 995). So i modified my parameters to the test program and changed "pop3" to "pop3s" as the protocol. BOOM it worked. This program could be usefull for others that run into the same kind of problem to diagnose it.
Looking again at the code i discovered that adding "pop3s" to the list of values in the application would be a easy fix. But to do that I would need to install the development environment (Eclipse, code, libraries, etc...) which would take a while.
So I am trying to find a workaround.
- Is there an easy work around to have "pop3" act as a "pop3s" within some configuration file ?
- Is there a fix that adds "pop3s" to the pulldown list in the interface ?
Your guidance would be appreciated.