跳到正文
所有工具

proton_send_email

Proton Mail · macOS · Windows

效果: 发送. 状态: 受限可用.

“受限可用”表示工具可能取决于版本、平台、权限、账户或配置,并不表示它在所有安装中都已启用。

macOS

用途

通过这台电脑上的 Proton Mail Bridge,从已连接的 Proton Mail 地址发送纯文本邮件。首次调用返回包含发件人、收件人、主题和正文的预览,不会连接任何服务;confirm=true 才会发送。不支持附件。需要包含 Bridge 的 Proton 套餐,且 Bridge 正在运行。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — macOS
{
  "properties": {
    "account": {
      "description": "The Proton Mail account: its address, as proton_connect lists it. Optional when one account is connected.",
      "type": "string"
    },
    "body": {
      "description": "Plain text.",
      "type": "string"
    },
    "cc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Copy recipients, the same form as `to`."
    },
    "confirm": {
      "description": "Must be true to send. Without it the call returns a preview and sends nothing.",
      "type": "boolean"
    },
    "subject": {
      "type": "string"
    },
    "to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Recipient address, or several (an array, or separated by commas)."
    }
  },
  "required": [
    "to",
    "subject",
    "body"
  ],
  "type": "object"
}

文档示例

proton_send_email 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "subject": "Planning meeting",
  "to": "sam@example.com"
}

Windows

用途

通过这台电脑上的 Proton Mail Bridge,从已连接的 Proton Mail 地址发送纯文本邮件。首次调用返回包含发件人、收件人、主题和正文的预览,不会连接任何服务;confirm=true 才会发送。不支持附件。需要包含 Bridge 的 Proton 套餐,且 Bridge 正在运行。

必填输入

输入名称会严格保持工具要求的形式。下方可展开的架构中保留英文规范技术定义。

权限与确认

架构声明了明确的确认参数。请检查预览,并按此平台的契约授权实际操作。

英文规范技术架构 — Windows
{
  "properties": {
    "account": {
      "description": "The Proton Mail account: its address, as proton_connect lists it. Optional when one account is connected.",
      "type": "string"
    },
    "body": {
      "description": "Plain text.",
      "type": "string"
    },
    "cc": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Copy recipients, the same form as `to`."
    },
    "confirm": {
      "description": "Must be true to send. Without it the call returns a preview and sends nothing.",
      "type": "boolean"
    },
    "subject": {
      "type": "string"
    },
    "to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        }
      ],
      "description": "Recipient address, or several (an array, or separated by commas)."
    }
  },
  "required": [
    "to",
    "subject",
    "body"
  ],
  "type": "object"
}

文档示例

proton_send_email 的文档示例。请勿执行此示例。所示参数属于虚构数据集;在实际调用前,请解析真实标识符并获得授权。

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "subject": "Planning meeting",
  "to": "sam@example.com"
}