Small POP3 improvements

This commit is contained in:
M66B
2019-09-27 15:04:16 +02:00
parent 58bff541bd
commit 4c5e81e7f9
3 changed files with 6 additions and 2 deletions

View File

@@ -242,6 +242,7 @@ public class MailService implements AutoCloseable {
//System.setProperty("mail.socket.debug", Boolean.toString(debug));
if ("pop3".equals(protocol) || "pop3s".equals(protocol)) {
isession.setDebug(true);
iservice = isession.getStore(protocol);
iservice.connect(host, port, user, password);