I have my program currently set up to output all emails from my gmail account. What I want it to do is print all incoming emails from a microsoft exchange account though. Does anyone know what I should change these properties to?
`properties.put("mail.pop3.host", host);
properties.put("mail.pop3.port", "995");
properties.put("mail.pop3.starttls.enable", "true");
....
String host = "pop.gmail.com";// change accordingly
String mailStoreType = "pop3";`