Sending domains

Sending domains

Sending-only subdomains, their suppressions, and your org’s limits.

On this page
  1. sending domains add
  2. sending domains check
  3. sending domains list
  4. sending domains remove
  5. sending domains route
  6. sending submit
  7. sending domains resume
  8. sending suppressions list
  9. sending suppressions remove
  10. sending status

mailset sending domains add

Campaigns: add a sending domain, with a tracking domain or without.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

  • --tracking-domain<tracking-domain>optional

    Where its links and opens go: a CNAME to Mailset’s link host, on the same registered domain. Left out, its mail is never tracked, and the domain may be the registered domain itself (example.com), for replies sent as its support address.

Returns

With --json it prints the Sending domain object.

In the API: POST /v1/sending.domains.add

Usage
mailset sending domains add <domain> [--tracking-domain <tracking-domain>] [--org <id>]
Example
mailset sending domains add news.example.com --tracking-domain link.example.com

mailset sending domains check

Campaigns: check a sending domain’s records and certificate now.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

Returns

With --json it prints the Sending domain object.

In the API: POST /v1/sending.domains.check

Usage
mailset sending domains check <domain> [--org <id>]
Example
mailset sending domains check news.example.com

mailset sending domains list

Campaigns: list the sending domains, their checks and records.

Admin or owner

Returns

With --json it prints a list of Sending domain objects.

In the API: POST /v1/sending.domains.list

Usage
mailset sending domains list [--org <id>]
Example
mailset sending domains list

mailset sending domains remove

Campaigns: remove a sending domain; mail still waiting is dropped.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

Returns

With --json it prints what the API returns.

In the API: POST /v1/sending.domains.remove

Usage
mailset sending domains remove <domain> [--org <id>]
Example
mailset sending domains remove news.example.com

mailset sending domains route

Campaigns: send every message to a sending domain to a webhook.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

  • --url<url>required

    Where every message to the domain is POSTed: an https URL on a public host name.

Returns

With --json it prints what the API returns.

In the API: POST /v1/sending.domains.route

Usage
mailset sending domains route <domain> --url <url> [--org <id>]
Example
mailset sending domains route news.example.com --url https://app.example.com/hooks/replies

mailset sending submit

Campaigns: send one whole message from a sending domain, the way a reply goes.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain the message goes from.

  • --ref<ref>required

    Your own id for the message: 1 to 64 letters, digits, - or _. It comes back on its events.

  • --file<path>required

    The file to send, read from this machine.

  • --recipients<a,b,…>optional

    The envelope: who it goes to. Left out, everyone the message names in To, Cc and Bcc, each once whatever its case.

    Or @<path>, to read the JSON from a file.

Returns

With --json it prints what the API returns.

In the API: POST /v1/sending.submit

Usage
mailset sending submit <domain> --ref <ref> --file <path> [--recipients <a,b,…>] [--org <id>]
Example
mailset sending submit news.example.com --ref ticket-4821 --file reply.eml

mailset sending domains resume

Let a sending domain its brake paused send again, once you know why it was.

OwnerPasskey

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

It can ask for your passkey. It prints “This needs your passkey. Open <link>”, then waits until the link is approved or refused. Read its output as it comes: through head or tail, the link shows only after the wait.

Returns

With --json it prints the Sending domain object.

In the API: POST /v1/sending.domains.resume

Usage
mailset sending domains resume <domain> [--org <id>]
Example
mailset sending domains resume news.example.com

mailset sending suppressions list

Campaigns: the addresses a sending domain won’t write to.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

  • --cursor<cursor>optional

    The next of the page before, for the page after it.

Returns

With --json it prints what the API returns.

In the API: POST /v1/sending.suppressions.list

Usage
mailset sending suppressions list <domain> [--cursor <cursor>] [--org <id>]
Example
mailset sending suppressions list news.example.com

mailset sending suppressions remove

Campaigns: let a sending domain write to an address again.

Admin or owner

Flags

  • <domain>argumentrequired

    The sending domain, such as news.example.com.

  • --address<address>required

    The address the domain may write to again.

Returns

With --json it prints what the API returns.

In the API: POST /v1/sending.suppressions.remove

Usage
mailset sending suppressions remove <domain> --address <address> [--org <id>]
Example
mailset sending suppressions remove news.example.com --address moc.elpmaxe@airam

mailset sending status

Show your org’s sending limits, and whether it is paused.

Returns

With --json it prints what the API returns.

In the API: POST /v1/sending.status

Usage
mailset sending status [--org <id>]
Example
mailset sending status