GetAttachment
Retrieves a single attachment from a sent email.Parameters
string
required
The unique identifier of the email.
string
required
The unique identifier of the attachment.
Returns
*EmailAttachment
Example
GetAttachmentWithContext
Retrieves a single attachment from a sent email with context.Parameters
context.Context
required
Context for the request.
string
required
The unique identifier of the email.
string
required
The unique identifier of the attachment.
Returns
*EmailAttachment
See GetAttachment for response field details.
Example
ListAttachments
Retrieves a list of attachments for a sent email.Parameters
string
required
The unique identifier of the email.
Returns
ListEmailAttachmentsResponse
Example
ListAttachmentsWithContext
Retrieves a list of attachments for a sent email with context.Parameters
context.Context
required
Context for the request.
string
required
The unique identifier of the email.
Returns
ListEmailAttachmentsResponse
See ListAttachments for response field details.
Example
ListAttachmentsWithOptions
Retrieves a list of attachments for a sent email with pagination options.Parameters
context.Context
required
Context for the request.
string
required
The unique identifier of the email.
*ListOptions
Pagination options for the list request.
Returns
ListEmailAttachmentsResponse
See ListAttachments for response field details.