MailSlurp JS

Globals / DownloadAttachmentDto

Interface: DownloadAttachmentDto

Content of attachment

export

interface DownloadAttachmentDto

Hierarchy

  • DownloadAttachmentDto

Index

Properties

Properties

base64FileContents

Optional base64FileContents: string

Defined in src/generated/api.ts:1517

Base64 encoded string of attachment bytes. Decode the base64 encoded string to get the raw contents. If the file has a content type such as text/html you can read the contents directly by converting it to string using utf-8 encoding.

memberof DownloadAttachmentDto


contentType

Optional contentType: string

Defined in src/generated/api.ts:1523

Content type of attachment. Examples are image/png, application/msword, text/csv etc.

memberof DownloadAttachmentDto


sizeBytes

Optional sizeBytes: number

Defined in src/generated/api.ts:1529

Size in bytes of attachment content

memberof DownloadAttachmentDto