• ドキュメントホーム
  • HOME
  • ドキュメント
  • システム連携
  • サンプルコード
  • v3 Mail
  • v3サンプルコード

メニュー

  • ドキュメントホーム
  • チュートリアル
    • 概要
    • トランザクションメール
      • APIキーを管理する
      • トランザクションメールを送信する
      • 宛先ごとに異なる文字列を本文や件名に埋め込んで送信する
      • テンプレートを適用して送信する(Legacy Transactional Template編)
      • テンプレートを適用して送信する(Dynamic Transactional Template編)
      • 全メールの配信停止をまとめて管理する
      • メールの種類ごとに配信停止を管理する
      • バウンス(メールの不達)を管理する
      • 統計情報を確認する
    • マーケティングメール
      • はじめに
      • ステップ1 差出人情報の作成
      • ステップ2 宛先のアップロード
      • ステップ3 配信停止グループの設定
      • ステップ4 キャンペーンの作成
      • 番外編 レスポンシブメールを送る
      • 番外編 セグメント配信を行う
    • イベントを管理する
      • メールが届いているか確認する
      • Event Webhookでイベントを受信する
    • 到達率を向上させる
      • 独自ドメインを利用する
      • 宛先リストをクリーニングする
      • IPウォームアップを行う
    • メールを受信する
      • メールを受信する
  • ユーザマニュアル
    • SendGrid 概要
    • Dashboard
    • Activity
    • Email Testing
    • Email API
      • 概要
      • テンプレートの作成と編集
      • テンプレートの管理
    • Marketing Campaigns
      • 概要
      • キャンペーンの送信
      • Overview
      • Marketing Templates
      • Design Editor
      • Code Editor
      • Senders
      • Contacts
      • セグメントの作成とエクスポート
      • Custom Fields
      • A/Bテスト
      • Campaign Statistics
      • Notifications
      • Managing Contacts
        • 宛先リストの作成
        • 宛先の追加
        • CSVファイルのフォーマット
        • 宛先リストの管理
        • Contactsのセグメント化
    • Settings
      • 概要
      • Account Details
      • Alert Settings
      • API Keys
      • IP Access Management
      • IP Addresses
      • Mail Settings
      • Inbound Parse
      • Partners
      • Teammates
      • Tracking
      • Two-Factor Authentication
      • Subuser Management
        • サブユーザの作成/管理
        • アカウント設定
        • プロフィール編集
        • サブユーザへの切替
      • Sender authentication
        • Domain Authentication(SPF/DKIM設定)の設定方法
        • Link Branding(トラッキングドメイン設定)の設定方法
        • Reverse DNS(IPアドレス逆引き設定)の設定方法
        • トラブルシューティング
    • Stats
      • 概要
      • Deliverability Insights
      • Global Stats
      • Category Stats
      • Category Comparison
      • Subuser Stats
      • Subuser Comparison
      • Parse Webhook
    • Suppressions
      • 概要
      • Global Unsubscribes
      • Group Unsubscribes
      • Bounces
      • Spam Reports
      • Blocks
      • Invalid
      • Unsubscribe Groups
      • 受信者による購読管理
    • Email Address Validation
      • 概要
      • 単一の宛先のリアルタイム検証
      • 複数の宛先のバッチ検証
  • APIリファレンス
    • APIリファレンス概要
    • SMTP API
      • SMTPでメール送信する
      • SMTPの使用方法
      • SMTPメールの構築
      • Scheduling Parameters
      • Section Tags
      • Substitution Tags
      • Suppression Groups
      • Unique Arguments
      • Settings (Filters)
      • Categories
      • エラーとトラブルシューティング
    • Web API v3
      • API v3 概要
      • Alerts API
      • Blocks API
      • Bounces API
      • Email Activity API
      • Invalid Emails API
      • Spam Reports API
      • Subusers API
      • Teammates API
      • Users API
      • Cancel Scheduled Sends
      • IP Access Management
      • Transactional Templates
        • テンプレートを使用したメール送信
        • 概要
        • Templates
        • Versions
      • API Keys
        • API Keys
        • APIキーパーミッションリスト
        • API Key Permissions
      • Marketing Campaigns
        • 概要
        • Campaigns API
        • Contacts API
        • Sender Identities API
      • Categories
        • Categories
      • Web API v3の利用方法
        • 概要
        • 認証
        • 要求
        • 代理リクエスト
        • 応答
        • 呼び出し制限
        • エラー
      • IP Management
        • 概要
        • IP Addresses
        • IP Pools
        • 自動IPウォームアップ
      • Mail
        • v3 Mail Send API概要
        • ステータスコードとエラー
      • SendGrid Engagement Quality API
        • 概要
        • Engagement Quality Scores
      • Settings
        • 概要
        • Enforced TLS
        • Mail
        • Partner
        • Tracking
      • Stats
        • 概要
        • Global Stats
        • Category Stats
        • Subuser Stats
        • Advanced Stats
        • Parse Webhook Stats
      • Suppression Management
        • 概要
        • Unsubscribe Groups
        • Suppressions
        • Global Unsubscribes
      • Webhooks
        • Event Webhook
        • Parse API
      • Whitelabel
        • Domains
        • IPs
        • Links
    • Web API v2
      • 概要
      • Web API v2の使用方法
      • Blocks
      • Bounces
      • Filter Commands
      • Filter Settings
      • Invalid Emails
      • v2 Mail Send
      • Profile
      • Spam Reports
      • Timezone
      • Unsubscribes
      • Customer Subuser API
        • 概要
        • Subuser Management
        • Account Limits
        • Apps
        • IP Management
        • Whitelabel
        • Statistics
        • Subuser Bounces
        • Subuser Invalid Emails
        • Subuser Spam Reports
        • Subuser Unsubscribes
        • Parse Settings
        • Authenticate a Subuser
      • Statistics
        • General Statistics
        • Advanced Statistics
    • Webhooks
      • 概要
      • Webhookのデバッグ
      • Event Webhook
      • Inbound Email Parse Webhook
  • システム連携
    • SendGridとの連携
    • APIライブラリ
    • オープンソースアプリケーション
    • サンプルコード
      • サンプルコード
      • Webhookサンプル
        • Webhookサンプル
        • C#
        • Go
        • Node.js
        • PHP
        • Python
      • SMTP APIサンプル
        • SMTP APIヘッダサンプル
        • Go
        • Node.js
        • Perl
        • PHP
        • Python
        • Ruby
      • v2 Mail
        • v2サンプルコード
        • C#
        • Go
        • Java
        • Node.js
        • Perl
        • PHP
        • Python
        • Ruby
      • v3 Mail
        • v3サンプルコード
        • C#
        • Go
        • Java
        • Node.js
        • PHP
        • Python
        • Ruby
    • フレームワーク
      • フレームワーク
      • CakePHP
      • CodeIgniter
      • Django
      • Ruby on Rails
      • Symfony
      • Zend
    • メールクライアント
      • メールクライアント
      • Apple Mail
      • Outlook 2013
      • Thunderbird
    • メールサーバ
      • メールサーバ
      • Exchange 2010
      • Microsoft IIS 7.5
      • Postfix
      • Qmail
      • Sendmail

V3サンプルコード

  • C#
  • Go
  • Java
  • Node.js
  • PHP
  • Python
  • Ruby
This is not a sandbox. These are real API calls that affect your account, possibly altering data and consuming credits.