모든 도구

send_email

이메일 · macOS

효과: 보내기. 상태: 조건부 제공.

‘조건부 제공’은 도구가 버전, 플랫폼, 권한, 계정 또는 설정에 따라 달라질 수 있음을 뜻하며 모든 설치에서 활성화되었다는 의미는 아닙니다.

macOS

목적

사용자가 Mac의 Apple Mail에 구성된 계정에서 이메일을 보내려 할 때 사용합니다. Mail.app을 통해 작성하고 전송하며 일반 텍스트 또는 HTML 본문을 지원합니다. Mail.app에 추가되지 않은 Microsoft 365 계정에서 보내려면 m365_send_email을 사용하세요. 기본 발신자 대신 구성된 특정 Mail.app 계정에서 보내려면 `from`을 전달하세요. 파일을 첨부하려면 절대 파일 경로를 쉼표로 구분한 목록으로 `attachments`에 전달하세요.

필수 입력

입력 이름은 도구가 요구하는 정확한 형태로 유지됩니다. 영문 정식 기술 정의는 아래 펼칠 수 있는 스키마에 있습니다.

권한 및 확인

스키마에 명시적 확인 매개변수가 있습니다. 미리보기를 검토하고 플랫폼 계약에 따라 실제 작업을 승인하세요.

영문 정식 기술 스키마macOS
{
  "properties": {
    "attachments": {
      "description": "Files to attach, as comma-separated absolute paths (e.g. a PDF).",
      "type": "string"
    },
    "bcc": {
      "description": "BCC address(es), comma-separated.",
      "type": "string"
    },
    "body": {
      "description": "Plain-text body. Use this OR html_body; if both are given, html_body wins.",
      "type": "string"
    },
    "cc": {
      "description": "CC address(es), comma-separated.",
      "type": "string"
    },
    "confirm": {
      "default": "false",
      "description": "Safety gate: the call only PREVIEWS (nothing is sent) unless confirm:true. Set true to actually send.",
      "type": "boolean"
    },
    "from": {
      "description": "Sender address — on a multi-account Mac, selects which configured Mail.app account sends. Omit to use Mail's default account.",
      "type": "string"
    },
    "html_body": {
      "description": "HTML body. Takes precedence over `body` when both are set.",
      "type": "string"
    },
    "subject": {
      "description": "Subject line.",
      "type": "string"
    },
    "to": {
      "description": "Recipient address(es), comma-separated for multiple.",
      "type": "string"
    }
  },
  "required": [
    "to",
    "subject"
  ],
  "type": "object"
}

문서 예시

send_email 문서 예시입니다. 이 예시를 실행하지 마세요. 표시된 인수는 가상 데이터 세트에 속합니다. 실제 호출 전에 실제 식별자를 확인하고 승인을 받으세요.

{
  "body": "Can we review the launch checklist on Tuesday?",
  "confirm": false,
  "subject": "Planning meeting",
  "to": "[email protected]"
}