Skip to content
Get started

allyhub mail wait

Wait for the next message that matches, received after --since (by default, when the wait starts), and print it whole

Terminal window
allyhub mail wait [options]
Option Type Default What it does
--to string Sent to this address (or its part before @), with or without its +tag
--from string A part of the sender’s address or name
--subject string A part of the subject
--text string A part of the text
--project string Sent to an address labelled with this project
--thread string In this thread (a thread id)
--since string Count mail received after this moment (ISO 8601); give the moment before you acted, so a message that came first is not missed
--timeout number 120 Seconds to wait before giving up
--every number 3 Seconds between looks

--json: print the result as JSON.

With --json, the command prints an object with these fields:

Field Type What it is
message object or null
timedOut boolean
Terminal window
allyhub mail wait --to ada.acme+staging --from staging.example --since "$(date -u +%Y-%m-%dT%H:%M:%SZ)"

0 when it succeeds; the others are listed in Exit codes.

mailbox: An address of your own: signing up to a site, its codes and links, mail people send you and your answers

mail addresses → mail alias → mail wait → mail search → mail read → mail send → mail reply

Was this page helpful?