Class DefaultMailContext

    • Field Detail

      • addressFilter

        protected de.xima.cmn.filter.IGenericFilter<javax.mail.Address> addressFilter
    • Method Detail

      • setAddressFilter

        public void setAddressFilter​(de.xima.cmn.filter.IGenericFilter<javax.mail.Address> addressFilter)
        Description copied from interface: IMailContext
        Sets an filter for excluding mail addresses during send
        Specified by:
        setAddressFilter in interface IMailContext
        Parameters:
        addressFilter - the address filter to set
      • getAddressFilter

        protected de.xima.cmn.filter.IGenericFilter<javax.mail.Address> getAddressFilter()
      • buildAuthenticator

        protected javax.mail.Authenticator buildAuthenticator()
      • buildProperties

        protected Properties buildProperties()
      • createMimeMessage

        protected javax.mail.internet.MimeMessage createMimeMessage​(javax.mail.Session session,
                                                                    IBaseMailData mail,
                                                                    Mandant client)
                                                             throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException
      • filterAddresses

        protected javax.mail.Address[] filterAddresses​(javax.mail.Address[] addresses)
      • buildContent

        protected void buildContent​(IBaseMailData mail,
                                    javax.mail.internet.MimeMessage msg,
                                    Mandant client)
                             throws javax.mail.MessagingException
        Throws:
        javax.mail.MessagingException