Class X_AD_SMTP

    • Constructor Detail

      • X_AD_SMTP

        public X_AD_SMTP​(Properties ctx,
                         int AD_SMTP_ID,
                         String trxName)
        Standard Constructor
    • Method Detail

      • get_AccessLevel

        protected int get_AccessLevel()
        AccessLevel
        Specified by:
        get_AccessLevel in class PO
        Returns:
        7 - System - Client - Org
      • initPO

        protected POInfo initPO​(Properties ctx)
        Load Meta Data
        Specified by:
        initPO in class PO
        Parameters:
        ctx - context
        Returns:
        POInfo
      • toString

        public String toString()
        Description copied from class: PO
        String representation
        Overrides:
        toString in class PO
        Returns:
        String representation
      • setAD_SMTP_ID

        public void setAD_SMTP_ID​(int AD_SMTP_ID)
        Set SMTP Server.
        Specified by:
        setAD_SMTP_ID in interface I_AD_SMTP
        Parameters:
        AD_SMTP_ID - SMTP Server
      • getAD_SMTP_ID

        public int getAD_SMTP_ID()
        Get SMTP Server.
        Specified by:
        getAD_SMTP_ID in interface I_AD_SMTP
        Returns:
        SMTP Server
      • setAD_SMTP_UU

        public void setAD_SMTP_UU​(String AD_SMTP_UU)
        Set AD_SMTP_UU.
        Specified by:
        setAD_SMTP_UU in interface I_AD_SMTP
        Parameters:
        AD_SMTP_UU - AD_SMTP_UU
      • setEMailTest

        public void setEMailTest​(String EMailTest)
        Set EMail Test.
        Specified by:
        setEMailTest in interface I_AD_SMTP
        Parameters:
        EMailTest - Test EMail
      • setIsSecureSMTP

        public void setIsSecureSMTP​(boolean IsSecureSMTP)
        Set SMTP SSL/TLS.
        Specified by:
        setIsSecureSMTP in interface I_AD_SMTP
        Parameters:
        IsSecureSMTP - Use SSL/TLS for SMTP
      • isSecureSMTP

        public boolean isSecureSMTP()
        Get SMTP SSL/TLS.
        Specified by:
        isSecureSMTP in interface I_AD_SMTP
        Returns:
        Use SSL/TLS for SMTP
      • setIsSmtpAuthorization

        public void setIsSmtpAuthorization​(boolean IsSmtpAuthorization)
        Set SMTP Authentication.
        Specified by:
        setIsSmtpAuthorization in interface I_AD_SMTP
        Parameters:
        IsSmtpAuthorization - Your mail server requires Authentication
      • isSmtpAuthorization

        public boolean isSmtpAuthorization()
        Get SMTP Authentication.
        Specified by:
        isSmtpAuthorization in interface I_AD_SMTP
        Returns:
        Your mail server requires Authentication
      • setName

        public void setName​(String Name)
        Set Name.
        Specified by:
        setName in interface I_AD_SMTP
        Parameters:
        Name - Alphanumeric identifier of the entity
      • getName

        public String getName()
        Get Name.
        Specified by:
        getName in interface I_AD_SMTP
        Returns:
        Alphanumeric identifier of the entity
      • getKeyNamePair

        public KeyNamePair getKeyNamePair()
        Get Record ID/ColumnName
        Returns:
        ID/ColumnName pair
      • setRequestUser

        public void setRequestUser​(String RequestUser)
        Set Request User.
        Specified by:
        setRequestUser in interface I_AD_SMTP
        Parameters:
        RequestUser - User Name (ID) of the email owner
      • getRequestUser

        public String getRequestUser()
        Get Request User.
        Specified by:
        getRequestUser in interface I_AD_SMTP
        Returns:
        User Name (ID) of the email owner
      • setRequestUserPW

        public void setRequestUserPW​(String RequestUserPW)
        Set Request User Password.
        Specified by:
        setRequestUserPW in interface I_AD_SMTP
        Parameters:
        RequestUserPW - Password of the user name (ID) for mail processing
      • getRequestUserPW

        public String getRequestUserPW()
        Get Request User Password.
        Specified by:
        getRequestUserPW in interface I_AD_SMTP
        Returns:
        Password of the user name (ID) for mail processing
      • setSMTPHost

        public void setSMTPHost​(String SMTPHost)
        Set Mail Host.
        Specified by:
        setSMTPHost in interface I_AD_SMTP
        Parameters:
        SMTPHost - Hostname of Mail Server for SMTP and IMAP
      • getSMTPHost

        public String getSMTPHost()
        Get Mail Host.
        Specified by:
        getSMTPHost in interface I_AD_SMTP
        Returns:
        Hostname of Mail Server for SMTP and IMAP
      • setSMTPPort

        public void setSMTPPort​(int SMTPPort)
        Set SMTP Port.
        Specified by:
        setSMTPPort in interface I_AD_SMTP
        Parameters:
        SMTPPort - SMTP Port Number
      • getSMTPPort

        public int getSMTPPort()
        Get SMTP Port.
        Specified by:
        getSMTPPort in interface I_AD_SMTP
        Returns:
        SMTP Port Number
      • setUsedByEmailOrDomain

        public void setUsedByEmailOrDomain​(String UsedByEmailOrDomain)
        Set Used by email or domain.
        Specified by:
        setUsedByEmailOrDomain in interface I_AD_SMTP
        Parameters:
        UsedByEmailOrDomain - Used by email or domain
      • getUsedByEmailOrDomain

        public String getUsedByEmailOrDomain()
        Get Used by email or domain.
        Specified by:
        getUsedByEmailOrDomain in interface I_AD_SMTP
        Returns:
        Used by email or domain