Attachment

Contains metadata and attachment raw content.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A brief description of the attachment content.

Link copied to clipboard

A standard descriptor indicating how the attachment should be rendered in the email. Supported values: ATTACHMENT or INLINE.

Link copied to clipboard

Unique identifier for the attachment, used for referencing attachments with INLINE disposition in HTML content.

Link copied to clipboard

Specifies how the attachment is encoded. Supported values: BASE64, QUOTED_PRINTABLE, SEVEN_BIT.

Link copied to clipboard

The MIME type of the attachment.

Link copied to clipboard

The file name for the attachment as it will appear in the email. Amazon SES restricts certain file extensions. To ensure attachments are accepted, check the Unsupported attachment types in the Amazon SES Developer Guide.

Link copied to clipboard

The raw data of the attachment. It needs to be base64-encoded if you are accessing Amazon SES directly through the HTTPS interface. If you are accessing Amazon SES using an Amazon Web Services SDK, the SDK takes care of the base 64-encoding for you.

Functions

Link copied to clipboard
inline fun copy(block: Attachment.Builder.() -> Unit = {}): Attachment
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String