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 org.eclipse.angus.mail.imap.IMAPStore getStore(ImapMailBox box) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • jmixFlags

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

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

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

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

      protected org.eclipse.angus.mail.imap.IMAPStore buildStore(ImapMailBox box) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • buildStore

      protected org.eclipse.angus.mail.imap.IMAPStore buildStore(ImapMailBox box, String password) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException