Class TextMailData

    • Field Detail

      • subject

        protected final String subject
      • to

        protected final javax.mail.Address[] to
      • reply

        protected final javax.mail.Address[] reply
      • cc

        protected javax.mail.Address[] cc
      • bcc

        protected javax.mail.Address[] bcc
      • from

        protected final javax.mail.Address from
      • sendSeparateMails

        protected boolean sendSeparateMails
      • forceEncryption

        protected boolean forceEncryption
    • Method Detail

      • getFrom

        public javax.mail.Address getFrom()
        Specified by:
        getFrom in interface IBaseMailData
        Returns:
        the from
      • getReply

        public javax.mail.Address[] getReply()
        Specified by:
        getReply in interface IBaseMailData
        Returns:
        the reply
      • getTo

        public javax.mail.Address[] getTo()
        Specified by:
        getTo in interface IBaseMailData
        Returns:
        the to
      • setCc

        public void setCc​(javax.mail.Address[] cc)
      • setCc

        public void setCc​(String addresses)
                   throws javax.mail.internet.AddressException
        Throws:
        javax.mail.internet.AddressException
      • getCc

        public javax.mail.Address[] getCc()
        Specified by:
        getCc in interface IBaseMailData
        Returns:
        the cc
      • setBcc

        public void setBcc​(javax.mail.Address[] bcc)
      • setBcc

        public void setBcc​(String addresses)
                    throws javax.mail.internet.AddressException
        Throws:
        javax.mail.internet.AddressException
      • getBcc

        public javax.mail.Address[] getBcc()
        Specified by:
        getBcc in interface IBaseMailData
        Returns:
        the bcc
      • setSendSeparateMails

        public void setSendSeparateMails​(boolean sendSeparateMails)
      • getSendSeparateMails

        public boolean getSendSeparateMails()
        Description copied from interface: IBaseMailData
        Flag to indicate that mails should be send separately to the to-recipient. Cc- and Bcc-recipients will be ignored because its not clear how to handle them
        Specified by:
        getSendSeparateMails in interface IBaseMailData
        Returns:
        true if mails should be separately, false otherwise
      • getAddressesByString

        protected javax.mail.Address[] getAddressesByString​(String addressesString)
                                                     throws javax.mail.internet.AddressException
        Throws:
        javax.mail.internet.AddressException
      • getBodyMimeType

        @Deprecated
        public String getBodyMimeType()
        Deprecated.
        Returns:
        the bodyMimeType