本文へスキップ
すべてのツール

proton_send_email

Proton Mail · macOS · Windows

効果: 送信. 状態: 条件付き提供.

「条件付き提供」は、バージョン、プラットフォーム、権限、アカウント、設定に依存する可能性を示し、すべての環境で有効という意味ではありません。

macOS

目的

接続済みの Proton Mail アドレスから、このコンピューター上の Proton Mail Bridge 経由でプレーンテキストのメッセージを送信します。最初の呼び出しは、送信者、宛先、件名、本文を含むプレビューを返し、何にも接続しません。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 アドレスから、このコンピューター上の Proton Mail Bridge 経由でプレーンテキストのメッセージを送信します。最初の呼び出しは、送信者、宛先、件名、本文を含むプレビューを返し、何にも接続しません。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"
}