Class MailReader

java.lang.Object
com.axelor.mail.MailReader

public class MailReader extends Object
The MailReader provides features to read mails.
  • Constructor Details

  • Method Details

    • getStore

      public jakarta.mail.Store getStore() throws jakarta.mail.AuthenticationFailedException, jakarta.mail.MessagingException
      Get a Store object and connect to the store if not connected.
      Returns:
      an instance of Store
      Throws:
      jakarta.mail.AuthenticationFailedException - if authentication fails
      jakarta.mail.MessagingException - if other failure