# mail.send

Canonical URL: https://developers.iagenify.com/zh/sdk/workflows/steps/mail-send/
Language: zh

`type: "mail.send"`

账户自己的地址之一发出信息,需要人向上游一步,没有例外。

Status: needs approval upstream · 5 recipients · box required

> **人类需要上上上下下**
>
> 这样做在账户之外, 并且没有人可以问 。 定义在您保存时被拒绝, 除非人类一步步坐到通往此路径的路上 。

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `box` | string | 必填 | 写地址 一定是账户的地址 |
| `to` | string | string[] | 必填 | 最多5名领取者。 |
| `cc` | string | string[] |  | 复制件。 |
| `subject` | string | 必填 | 主题 |
| `text` | string |  | 纯文字。 |
| `html` | string |  | 或 HTML需要其中之一。 |

```javascript
{ id: "send", type: "mail.send", config: {
    box: "ops@example.com",
    to: "{{steps.approve.output.recipient}}",
    subject: "Weekly digest",
    text: "{{steps.write.output.text}}" } }
```

## 输出 {#output}

```javascript
{{steps.send.output.accepted}}   // true
{{steps.send.output.from}}       // the address the recipient actually sees
{{steps.send.output.aligned}}    // whether it was signed with its own domain
```

## 未履行被接受的未履行 {#accepted}

> **当信件排队时的接力手回接**
>
> 之后发生的事情没有告诉我们。 向某人发送“ 发送” 报告的链条报告说它被接受—— 事实如此,而且不是一回事。

## 账户必须拥有邮箱 {#owns}

没有其他方法可以发送。 `box` 这不是账户地址之一 失败的一步。

- [人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人 人](/zh/sdk/workflows/steps/human): 这三个要求获得批准。
- [mailbox.send()](/zh/sdk/ref/mailbox/send): 通过代码。
- [工作流步骤](/zh/sdk/workflows/steps): 全部 23 种类型。

```python
{"id": "send", "type": "mail.send", "config": {
    "box": "ops@example.com",
    "to": "{{steps.approve.output.recipient}}",
    "subject": "Weekly digest",
    "text": "{{steps.write.output.text}}"}}
```

```python
"{{steps.send.output.accepted}}"   # True
"{{steps.send.output.from}}"       # the address the recipient actually sees
"{{steps.send.output.aligned}}"    # whether it was signed with its own domain
```
