Class MandantMailData

    • Constructor Detail

      • MandantMailData

        public MandantMailData()
    • Method Detail

      • getId

        public Long getId()
      • isEnabled

        public boolean isEnabled()
        Returns:
        if enabled
      • setEnabled

        public void setEnabled​(boolean enabled)
        Parameters:
        enabled - the userCustomMail to set
      • getHost

        public String getHost()
      • setHost

        public void setHost​(String host)
      • getPort

        public int getPort()
      • setPort

        public void setPort​(int port)
      • getSystemSenderAddressMode

        public EMailSenderAddressMode getSystemSenderAddressMode()
        Returns:
        When sending mails via the system mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by system administrators.
      • setSystemSenderAddressMode

        public void setSystemSenderAddressMode​(EMailSenderAddressMode systemSenderAddressMode)
        Parameters:
        systemSenderAddressMode - When sending mails via the system mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by system administrators.
      • setSender

        public void setSender​(String sender)
        Parameters:
        sender - The sender address used when sending mails. Can be overridden, unless getSystemSenderAddressMode() does not allow it.
      • getSenderName

        public String getSenderName()
        Returns:
        Sender name, which is displayed in mail clients instead of the sender's mail address.
      • setSenderName

        public void setSenderName​(String senderName)
        Parameters:
        senderName - Sender name, which is displayed in mail clients instead of the sender's mail address.
      • isAllowCustomSenderAddress

        public boolean isAllowCustomSenderAddress()
        Returns:
        When sending mails via the this client mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by client administrators.
      • setAllowCustomSenderAddress

        public void setAllowCustomSenderAddress​(boolean allowCustomSenderAddress)
        Parameters:
        allowCustomSenderAddress - When sending mails via the this client mail server: Whether to allow a different sender address when sending mails. This settings should be editable only by client administrators.
      • isAllowUtf8

        public boolean isAllowUtf8()
        Returns:
        Whether the mail server supports UTF-8 message headers, i.e. SMTPUTF8.
      • setAllowUtf8

        public void setAllowUtf8​(boolean allowUtf8)
        Parameters:
        allowUtf8 - Whether the mail server supports UTF-8 message headers, i.e. SMTPUTF8.
      • setAuthAttributes

        public void setAuthAttributes​(Map<String,​String> authAttributes)
      • getAuthName

        public String getAuthName()
      • setAuthName

        public void setAuthName​(String authName)
      • getAuthPassword

        public String getAuthPassword()
      • setAuthPassword

        public void setAuthPassword​(String authPassword)
      • getEncryption

        public EMailEncryption getEncryption()
        Returns:
        the encryption
      • setEncryption

        public void setEncryption​(EMailEncryption encryption)
        Parameters:
        encryption - the mailEncryption to set
      • setSupportAddress

        public void setSupportAddress​(String supportAddress)
      • getSupportAddress

        public String getSupportAddress()