EmailController

Get multipart content part as raw response

Extracts one MIME body part by contentType and optional index, and returns raw content with matching response content type when valid.

get/emails/{emailId}/contentPart/raw

Request

  • Base URL: https://api.mailslurp.com
  • URL: https://api.mailslurp.com/emails/{emailId}/contentPart/raw
  • Auth: API key in header x-api-key

Path parameters

emailIdstring uuid required

ID of email to match against

Query parameters

contentTypestring required

Content type

strictboolean

Strict content type match

indexinteger

Index of content type part if multiple. Starts from 0 and applies to the result list after selecting for your content type. Content type parts are sorted by order found in original MIME message.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.