Class MailConfiguration


  • public class MailConfiguration
    extends Object
    Represents a Mail Server configuration.
    Version:
    $Id: 62a60f0cc837788875ac8e031dc18a43ce3523f7 $
    • Constructor Detail

      • MailConfiguration

        public MailConfiguration()
      • MailConfiguration

        public MailConfiguration​(XWiki xwiki)
    • Method Detail

      • setHost

        public void setHost​(String host)
      • getHost

        public String getHost()
      • setPort

        public void setPort​(int port)
      • getPort

        public int getPort()
      • setFrom

        public void setFrom​(String from)
      • getFrom

        public String getFrom()
      • setSmtpUsername

        public void setSmtpUsername​(String smtpUsername)
      • getSmtpUsername

        public String getSmtpUsername()
      • setSmtpPassword

        public void setSmtpPassword​(String smtpPassword)
      • getSmtpPassword

        public String getSmtpPassword()
      • usesAuthentication

        public boolean usesAuthentication()
      • setExtraProperties

        public void setExtraProperties​(Properties extraProperties)
      • setExtraProperties

        public void setExtraProperties​(String extraPropertiesString)
      • appendExtraPropertiesTo

        public void appendExtraPropertiesTo​(Properties externalProperties,
                                            boolean overwrite)
        Add extraProperties to an external Properties object
        Parameters:
        externalProperties -
        overwrite -