Class ImapHelper

java.lang.Object
io.jmix.imap.impl.ImapHelper

@Component("imap_ImapHelper") public class ImapHelper extends Object
  • Field Details

  • Constructor Details

    • ImapHelper

      public ImapHelper()
  • Method Details

    • getStore

      public com.sun.mail.imap.IMAPStore getStore(ImapMailBox box) throws javax.mail.MessagingException
      Throws:
      javax.mail.MessagingException
    • jmixFlags

      public javax.mail.Flags jmixFlags(ImapMailBox mailBox)
    • getBody

      public ImapHelper.Body getBody(javax.mail.Message message) throws javax.mail.MessagingException, IOException
      Throws:
      javax.mail.MessagingException
      IOException
    • getMultipartBody

      protected ImapHelper.Body getMultipartBody(javax.mail.Part p) throws javax.mail.MessagingException, IOException
      Throws:
      javax.mail.MessagingException
      IOException
    • getSinglePartBody

      protected ImapHelper.Body getSinglePartBody(javax.mail.Part p) throws javax.mail.MessagingException, IOException
      Throws:
      javax.mail.MessagingException
      IOException
    • buildStore

      protected com.sun.mail.imap.IMAPStore buildStore(ImapMailBox box) throws javax.mail.MessagingException
      Throws:
      javax.mail.MessagingException
    • buildStore

      protected com.sun.mail.imap.IMAPStore buildStore(ImapMailBox box, String password) throws javax.mail.MessagingException
      Throws:
      javax.mail.MessagingException