Interface InboundRawMessage.Builder

    • Method Detail

      • subject

        InboundRawMessage.Builder subject​(String subject)

        The email subject.

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

        InboundRawMessage.Builder body​(String body)

        The email message body.

        Parameters:
        body - The email message body.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • contentType

        InboundRawMessage.Builder contentType​(String contentType)

        Type of content, that is, text/plain or text/html.

        Parameters:
        contentType - Type of content, that is, text/plain or text/html.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headersWithStrings

        InboundRawMessage.Builder headersWithStrings​(Map<String,​String> headers)

        Headers present in inbound email.

        Parameters:
        headers - Headers present in inbound email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • headers

        InboundRawMessage.Builder headers​(Map<EmailHeaderType,​String> headers)

        Headers present in inbound email.

        Parameters:
        headers - Headers present in inbound email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.