bird email inbound-messages attachment
Usage
Code example
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 bird email inbound-messages 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
Code example
bird email inbound-messages attachment <inbound-message-id> <attachment-id> --output invoice.pdfOptions
| Name | Description |
|---|---|
--output, -o | Write the bytes to this file instead of stdout |
Related
| Name | Description |
|---|---|
bird email inbound-messages attachments | List a received email's attachments |
bird email inbound-messages body | Get a received email's body |
bird email inbound-messages get | Get a received email |
bird email inbound-messages list | List received emails |
bird email inbound-messages raw | Download a received email's raw content |
Related resources
Continue with the documentation, guides and examples for this topic.