10Mar/100
Need to get data from your pop/imap accounts?
Yesterday I needed to get some data from a number of email accounts, and of course googled it a bit before I started. Our current system had support for this, hence using Java Sockets and commands to the email server. This proved to be slow and not accurate.
Java ships with a built in API for this, the javax.mail. The goal was to instantiate a connection and get the total quota and used quota for an account.