The scenario is a Windows Service connects to an outlook.com or a gmail.com POP3 account using OpenPOP. It finds existing emails if there are any (i.e. client.getMessageCount()
returns a value larger than zero).
The service keeps the connection open and rechecks for new messages.
The problem is that if i send email to that account after the service has connected then the getMessageCount()
always returns zero until the service automatically re-cycles the pop connection.
I'm hoping someone has had the same issue.
I cannot resolve the issue by more frequent pop diconnect/reconnects as some providers (like outlook.com) have limits to time between connects.