Class AbstractMailFileSystem<M,A,C extends AutoCloseable>

All Implemented Interfaces:
AutoCloseable, HasPhysicalDestination, IBasicFileSystem<M>, IMailFileSystem<M,A>
Direct Known Subclasses:
ImapFileSystem

public abstract class AbstractMailFileSystem<M,A,C extends AutoCloseable> extends AbstractConnectedFileSystem<M,C> implements IMailFileSystem<M,A>
Baseclass for MailFileSystems.
Author:
Gerrit van Brakel
  • Constructor Details

    • AbstractMailFileSystem

      public AbstractMailFileSystem()
  • Method Details

    • getPhysicalDestinationName

      public String getPhysicalDestinationName()
      Specified by:
      getPhysicalDestinationName in interface HasPhysicalDestination
    • setAuthAlias

      public void setAuthAlias(String authAlias)
      Alias used to obtain accessToken or username and password for authentication to Exchange mail server. If the alias refers to a combination of a username and a password, the deprecated Basic Authentication method is used. If the alias refers to a password without a username, the password is treated as the accessToken.
    • setUsername

      public void setUsername(String username)
      Username for authentication to mail server.
    • setPassword

      public void setPassword(String password)
      Password for authentication to mail server.
    • setBaseFolder

      public void setBaseFolder(String baseFolder)
      Folder (subfolder of root or of inbox) to look for mails. If empty, the inbox folder is used
    • setReadMimeContents

      public void setReadMimeContents(boolean readMimeContents)
      If set true, the contents will be read in MIME format
      Default value
      false
    • setReplyAddressFields

      public void setReplyAddressFields(String replyAddressFields)
      Comma separated list of fields to try as response address
      Default value
      "replyTo,from,sender,Return-Path"<M,A>