Interface IMailContext

    • Method Detail

      • send

        void send​(IBaseMailData mailData)
           throws Exception
        Sends an mail based on the given data
        Parameters:
        mailData - the mail data
        Throws:
        Exception - on errors while sending the mail
      • send

        void send​(IBaseMailData mail,
                  Mandant client)
           throws Exception
        Sends an mail based on the given data
        Parameters:
        mailData - the mail data
        client - the client to use for placeholder replacements
        Throws:
        Exception - on errors while sending the mail
      • setAddressFilter

        void setAddressFilter​(de.xima.cmn.filter.IGenericFilter<javax.mail.Address> addressFilter)
        Sets an filter for excluding mail addresses during send
        Parameters:
        addressFilter - the address filter to set
      • getServerData

        IMailServerData getServerData()
        Gets the mail server data of the context
        Returns:
        the server data