Documentation
Sign inGet started

bird email inbound-messages attachment

Usage

Codevoorbeeld
bird email inbound-messages attachment <inbound-message-id> <attachment-id> [flags]

Description

Download one attachment's raw bytes from a received email. List the attachment manifest first with attachments to find an attachment id.
The bytes are written to --output when set, otherwise to stdout:
bird email inbound-messages attachment rem_123 att_456 --output invoice.pdf

Examples

Codevoorbeeld
bird email inbound-messages attachment <inbound-message-id> <attachment-id> --output invoice.pdf

Options

NameDescription
--output, -oWrite the bytes to this file instead of stdout
NameDescription
bird email inbound-messages attachmentsList a received email's attachments
bird email inbound-messages bodyGet a received email's body
bird email inbound-messages getGet a received email
bird email inbound-messages listList received emails
bird email inbound-messages rawDownload a received email's raw content