Interface SimpleEmail.Builder

    • Method Detail

      • htmlPart

        SimpleEmail.Builder htmlPart​(SimpleEmailPart htmlPart)

        The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.

        Parameters:
        htmlPart - The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subject

        SimpleEmail.Builder subject​(SimpleEmailPart subject)

        The subject line, or title, of the email.

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

        SimpleEmail.Builder textPart​(SimpleEmailPart textPart)

        The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.

        Parameters:
        textPart - The body of the email message, in plain text format. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
        Returns:
        Returns a reference to this object so that method calls can be chained together.