Skip to content

CLI command

tinbox send

Send a message via the sending API (auto idempotency key)

Usage

sh
tinbox send --to <to> --from <from> --cc <cc> --subject <subject> --text <text> --html <html> --idempotency-key <idempotency-key> --in-reply-to <in-reply-to> --references <references>

Flags

NameTypeRequiredDefaultDescription
--tostringyes—recipient (repeatable / comma-separated)
--fromstringyes—sender (or set TINBOX_FROM)
--ccstringyes—cc (repeatable / comma-separated)
--subjectstringyes—subject
--textstringyes—plain-text body
--htmlstringyes—HTML body
--idempotency-keystringyes—explicit idempotency key (else a ULID is generated + printed)
--in-reply-tostringyes—Message-ID this replies to — threads it onto that conversation
--referencesstringyes—ancestry chain (repeatable / comma-separated)