Codes

Codes

The newest one-time code an address received.

On this page
  1. codes latest

mailset codes latest

The newest one-time code mailed to an address you can read.

Flags

  • <to>argumentrequired

    The address the code was mailed to: a mailbox you can read, or an alias, +tag, catch-all or group that delivers into one.

  • --from<from>optional

    Only mail from this sender: an address, or a domain with its subdomains (yahoo.com).

  • --within<within>optional

    How far back to look: 30m, 2h, 1d, or minutes as a number. 30 minutes unless given, a day at most.

    Default 30.

Returns

With --json it prints what the API returns.

In the API: POST /v1/codes.latest

Usage
mailset codes latest <to> [--from <from>] [--within <within>]
Example
mailset codes latest moc.elpmaxe@ana --from yahoo.com --within 10m