Interface EmailWriter<T>

    • Method Detail

      • accepts

        Class accepts()
        Returns the type of email that is written.
        Returns:
        the type of email
      • write

        String write​(T email)
        Writes the email.
        Parameters:
        email - the email to write
        Returns:
        the error message, null if everything OK