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 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 com.sun.mail.imap.IMAPStore buildStore(ImapMailBox box) throws jakarta.mail.MessagingException
      Throws:
      jakarta.mail.MessagingException
    • buildStore

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