cześć, tak jak w temacie podczas pobierania maili dostaje błąd :

failed to invoke method: org.codehaus.groovy.runtime.metaclass.ClosureStaticMetaMethod@2935fd2c[name: _JETGROOVY_EVAL_ params: [class java.lang.Object] returns: class java.lang.Object owner: class utils.MailTool] on: class utils.MailTool with arguments: [[com.sun.mail.pop3.POP3Message@3f018494, com.sun.mail.pop3.POP3Message@3ce443f9, com.sun.mail.pop3.POP3Message@57fbc06f, com.sun.mail.pop3.POP3Message@51a18b21, com.sun.mail.pop3.POP3Message@62b790a5, com.sun.mail.pop3.POP3Message@7c52fc81, com.sun.mail.pop3.POP3Message@7523a3dc, com.sun.mail.pop3.POP3Message@2806d6da, com.sun.mail.pop3.POP3Message@766a49c7, com.sun.mail.pop3.POP3Message@1db7157f]] reason: javax.mail.MessagingException: No inputstream from datasource;
  nested exception is:
	com.sun.mail.util.FolderClosedIOException: java.io.EOFException: EOF on socket

Kod jest tutaj: https://gist.github.com/anonymous/1234e80ed10b31bc79b00944f73b05a5

Pomożecie ;)?