문서로 건너뛰기
CLI

openemail sending

이 네임스페이스의 모든 명령과 그 인수, 플래그, 예시.

명령

How mail leaves the workspace: the two lanes it travels in, transactional for app mail and broadcast for newsletters, each with its bounce and complaint numbers, the switch that resumes a paused lane, and the dedicated IPs of a workspace that bought one.

여기 있는 모든 명령은 --json, --profile, --dry-run 같은 전역 플래그도 받습니다. 전역 플래그 보기

openemail sending list-streams

List the sending lanes

범위emails:read로그인 필요

사용법

openemail sending list-streams [flags]

Resolves the two lanes mail travels in, transactional for app mail such as password resets, receipts and codes, and broadcast for newsletters, each with its state and its numbers for the last 7 days: recipients, bounced and complained, the two rates, and the limits the broadcast lane is held to. The lanes have their own queues and their own reputation, so a newsletter never holds up or harms app mail.

The broadcast lane pauses itself when more than 4% of its recipients bounced or more than 0.2% reported the mail as spam over those 7 days, once it reached enough recipients to judge. A paused lane says when and why in pausedAt and pausedReason, and app mail keeps going out. The count starts again when a lane is resumed, which resumedAt gives.

예시

openemail sending list-streams
Print the raw JSON
openemail sending list-streams --json

다른 사용처

API
GET /sending/streams
TypeScript
sending.listStreams()
Python
sending.list_streams()
Ruby
sending.list_streams
PHP
sending->listStreams
Go
Sending.ListStreams
Java
sending().listStreams
C#
Sending.ListStreamsAsync

openemail sending resume-stream

Resume a paused lane

범위domains:write로그인 필요
확인을 요청합니다

사용법

openemail sending resume-stream <stream> [flags]

Resumes the broadcast lane after it was paused for too many bounces or complaints, as Resume does on the Analytics page of the app. Broadcasts and messages that were on hold continue at once, and the 7 day count starts again from now, so clean the audience first: a lane resumed onto the same list pauses again.

Only the workspace owner may do it: an API key acts for the owner, and an access token that acts for a member is 403 owner_only.

인수

<stream>필수

The lane to resume, broadcast. The transactional lane never pauses.

예시

openemail sending resume-stream broadcast
Skip the confirmation, for scripts
openemail sending resume-stream broadcast --yes

다른 사용처

API
POST /sending/streams/{stream}/resume
TypeScript
sending.resumeStream()
Python
sending.resume_stream()
Ruby
sending.resume_stream
PHP
sending->resumeStream
Go
Sending.ResumeStream
Java
sending().resumeStream
C#
Sending.ResumeStreamAsync

openemail sending list-dedicated-ips

List dedicated IPs

범위domains:read로그인 필요

사용법

openemail sending list-dedicated-ips [flags]

Resolves the dedicated sending IPs of the workspace, bought as an add-on with billing.startAddOnCheckout. A new IP is warmed up over several weeks: warmupPercent says how far it is, and until it reaches 100 part of the mail still leaves through the shared IPs, so nothing is held back while it warms. status is warming until then and ready after.

A workspace without the add-on gets an empty list and sends through the shared IPs.

예시

openemail sending list-dedicated-ips
Print the raw JSON
openemail sending list-dedicated-ips --json

다른 사용처

API
GET /sending/dedicated-ips
TypeScript
sending.listDedicatedIps()
Python
sending.list_dedicated_ips()
Ruby
sending.list_dedicated_ips
PHP
sending->listDedicatedIps
Go
Sending.ListDedicatedIPs
Java
sending().listDedicatedIps
C#
Sending.ListDedicatedIpsAsync

openemail sending get-dedicated-ip

Read a dedicated IP

범위domains:read로그인 필요

사용법

openemail sending get-dedicated-ip <ip> [flags]

Resolves one dedicated IP of the workspace with its status and how far its warm-up has come.

인수

<ip>필수

The IP address, as listDedicatedIps returns it, such as 203.0.113.24.

예시

openemail sending get-dedicated-ip 203.0.113.24
Print the raw JSON
openemail sending get-dedicated-ip 203.0.113.24 --json

다른 사용처

API
GET /sending/dedicated-ips/{ip}
TypeScript
sending.getDedicatedIp()
Python
sending.get_dedicated_ip()
Ruby
sending.get_dedicated_ip
PHP
sending->getDedicatedIp
Go
Sending.GetDedicatedIP
Java
sending().getDedicatedIp
C#
Sending.GetDedicatedIpAsync