Class MUserMail

    • Constructor Detail

      • MUserMail

        public MUserMail​(Properties ctx,
                         int AD_UserMail_ID,
                         String trxName)
        Standard Constructor
        Parameters:
        ctx - context
        AD_UserMail_ID - id
        trxName - trx
      • MUserMail

        public MUserMail​(Properties ctx,
                         ResultSet rs,
                         String trxName)
        Load Constructor
        Parameters:
        ctx - context
        rs - result set
        trxName - trx
      • MUserMail

        public MUserMail​(MMailText parent,
                         int AD_User_ID,
                         EMail mail)
        User Mail
        Parameters:
        parent - Request Mail Text
        AD_User_ID - recipient user
        mail - email
      • MUserMail

        public MUserMail​(PO po,
                         int AD_User_ID,
                         EMail mail)
        New User Mail (no trx)
        Parameters:
        po - persistent object
        AD_User_ID - recipient user
        mail - email
    • Method Detail

      • isDelivered

        public boolean isDelivered()
        Is it Delivered
        Returns:
        true if yes
      • isDeliveredNo

        public boolean isDeliveredNo()
        Is it not Delivered
        Returns:
        true if null or no
      • isDeliveredUnknown

        public boolean isDeliveredUnknown()
        Is Delivered unknown
        Returns:
        true if null
      • setSenderAndRecipient

        public void setSenderAndRecipient​(EMail mail)
        Fill sender and recipients fields
      • getRecipientWithCommaSeparator

        public static String getRecipientWithCommaSeparator​(javax.mail.internet.InternetAddress[] recipients)