Interface MailBox


public interface MailBox
This class represents a mailbox for incoming mails.
  • Field Details

  • Method Details

    • getId

      String getId()
      Returns:
      the id of the mailbox
    • getDescription

      String getDescription()
      Returns:
      the description of the MailBox
    • getServer

      String getServer()
      Returns:
      the mail server
    • getApplication

      Application getApplication()
      Returns the application of the mailbox.
      Returns:
      the application
    • getUsername

      String getUsername()
      Returns:
      username of the mailbox account
    • getPassword

      String getPassword()
      Returns:
      password of the mailbox account
    • getAuthorizer

      Authorizer getAuthorizer()
      Returns:
      the Authorizer of the mailbox account
    • getEmailAddress

      String getEmailAddress()
      Returns:
      emailaddress of the mailbox account
    • getProtocol

      String getProtocol()
      Returns:
      used protocol: either IMAP("imap") or POP ("pop3")
    • getCommunicationtype

      String getCommunicationtype()
      Returns:
      the used communication type @see com.groiss.mail.MailUtil#getCommunicationtype()
    • getSMTPServer

      String getSMTPServer()
      Returns:
      the server for outgoing mails
    • getSMTPCommunicationtype

      String getSMTPCommunicationtype()
      Returns:
      the communication type for outgoing mails