Mailly文档

命令

各组 mailly 命令的用途。

每个命令的全部选项可用 mailly <command> --help 查看。完整命令手册随 CLI 维护,见 docs/commands.zh-CN.md。

命令用途
login、logout、whoami浏览器或 API Key 登录,查看当前账户
balance、logs余额与消费记录
send、status发送邮件;多收件人发送和 Campaign 进入队列并返回任务 ID
inbox收件地址、会话、邮件内容、回复、附件和收件 Webhook
outbox、delivery-events、webhooks按收件人的发件记录、投递事件和签名的投递 Webhook
drafts、agents等待人工审核的草稿,以及托管 Agent 档案与 Skills
templates、workflows、events版本化模板,以及由事件触发的生命周期 Workflow
contacts、audiences、campaigns联系人、CSV 导入、退订抑制、人群和 Campaign
preferences、marketing-settings收件人订阅状态和营销邮件页脚信息
domains、dns、code自定义域名、DNS 服务商 token 和验证码

示例

收件箱
mailly inbox threads list --json
mailly inbox threads show <thread-id> --json
mailly inbox webhook set --url https://your-service.example.com/mailly --json
托管 Agent
mailly agents list --json
mailly agents create --name "客服助理" --mode draft --address-id <address-id> --json
mailly agents update <agent-id> --mode summarize --json
邮件资源
mailly contacts list --json
mailly audiences list --json
mailly templates list --json
mailly workflows list --json
mailly campaigns list --json

本页内容