Interface InboundMailServer

All Superinterfaces:
com.atlassian.mail.server.MailServer, OAuth2MailServer
All Known Implementing Classes:
ConfluenceImapMailServer, ConfluencePopMailServer

public interface InboundMailServer extends com.atlassian.mail.server.MailServer, OAuth2MailServer
Defines the contract for an inbound mail server.
Since:
8.2
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the Address which will be monitored for inbound email.
    void
    setToAddress(String toAddress)
    Sets the Address which will be monitored for inbound email.

    Methods inherited from interface com.atlassian.mail.server.MailServer

    getDebug, getDescription, getHostname, getId, getMailProtocol, getName, getPassword, getPort, getProperties, getSession, getSocksHost, getSocksPort, getTimeout, getType, getUsername, isTlsHostnameCheckRequired, setDebug, setDebugStream, setDescription, setHostname, setId, setLogger, setMailProtocol, setName, setPassword, setPort, setProperties, setSocksHost, setSocksPort, setTimeout, setTlsHostnameCheckRequired, setUsername

    Methods inherited from interface com.atlassian.confluence.mail.OAuth2MailServer

    getAuthorization, isBasicAuth, setAuthorization
  • Method Details

    • getToAddress

      String getToAddress()
      Gets the Address which will be monitored for inbound email.
      Returns:
      email address
    • setToAddress

      void setToAddress(String toAddress)
      Sets the Address which will be monitored for inbound email.
      Parameters:
      toAddress -