Interface AddHeaderAction.Builder

  • Method Details

    • headerName

      AddHeaderAction.Builder headerName(String headerName)

      The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.

      Parameters:
      headerName - The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • headerValue

      AddHeaderAction.Builder headerValue(String headerValue)

      The value of the header to add to the email.

      Parameters:
      headerValue - The value of the header to add to the email.
      Returns:
      Returns a reference to this object so that method calls can be chained together.