Interface EmailTemplateContent.Builder

    • Method Detail

      • subject

        EmailTemplateContent.Builder subject​(String subject)

        The subject line of the email.

        Parameters:
        subject - The subject line of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • text

        EmailTemplateContent.Builder text​(String text)

        The email body that will be visible to recipients whose email clients do not display HTML.

        Parameters:
        text - The email body that will be visible to recipients whose email clients do not display HTML.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • html

        EmailTemplateContent.Builder html​(String html)

        The HTML body of the email.

        Parameters:
        html - The HTML body of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.