Interface CampaignEmailMessage.Builder

    • Method Detail

      • body

        CampaignEmailMessage.Builder body​(String body)

        The body of the email for recipients whose email clients don't render HTML content.

        Parameters:
        body - The body of the email for recipients whose email clients don't render HTML content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • fromAddress

        CampaignEmailMessage.Builder fromAddress​(String fromAddress)

        The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.

        Parameters:
        fromAddress - The verified email address to send the email from. The default address is the FromAddress specified for the email channel for the application.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • htmlBody

        CampaignEmailMessage.Builder htmlBody​(String htmlBody)

        The body of the email, in HTML format, for recipients whose email clients render HTML content.

        Parameters:
        htmlBody - The body of the email, in HTML format, for recipients whose email clients render HTML content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • title

        CampaignEmailMessage.Builder title​(String title)

        The subject line, or title, of the email.

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