メール送信

トランザクションメールでゲーム外のプレイヤーにアプローチ

無料で始める

あなたのSMTP、あなたのブランド

メールはあなたのドメインから送信されます。horizOnは代理送信しません -- 到達性とブランディングを完全に管理できます。

変数付きテンプレートエンジン

{{username}}や{{eventTime}}などのプレースホルダーを使った再利用可能なHTMLテンプレートを作成できます。最大15言語をサポート。

即時または予約配信

メールを即時送信するか後で配信するか選べます。予約済みメールはいつでもAPIでキャンセル可能。

ゲームイベント向けに構築

トーナメントアラート、購入確認、非活動nudge、ウェルカムメール。1回のAPI呼び出しで全フローが起動。

クイック統合

クイック統合

Unity (C#)
// Unity C#: Email Sending
using System;
using System.Collections.Generic;
using PM.horizOn.Cloud.Manager;

var mail = EmailSendingManager.Instance;
string userId = UserManager.Instance.CurrentUser.UserId;

// Send now to a registered player
var sent = await mail.SendEmail(userId, "welcome",
    new Dictionary<string, string> { ["username"] = "PlayerOne" }, "en");

// Schedule a reminder for tomorrow, then cancel it
var reminder = await mail.SendEmail(userId, "appointment_reminder",
    new Dictionary<string, string> { ["appointmentName"] = "Dentist" }, "en",
    DateTime.UtcNow.AddDays(1));
if (reminder != null) await mail.CancelEmail(reminder.id);
REST
# REST API: Email Sending

# Send an immediate email
curl -X POST https://horizon.pm/api/v1/app/email-sending/send \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "USER_ID",
    "templateSlug": "welcome",
    "language": "en",
    "variables": { "username": "PlayerOne" }
  }'

# Schedule an email for later
curl -X POST https://horizon.pm/api/v1/app/email-sending/send \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "userId": "USER_ID",
    "templateSlug": "appointment_reminder",
    "language": "en",
    "variables": { "appointmentName": "Dentist", "appointmentTime": "14:00" },
    "scheduledAt": "2026-04-12T14:00:00Z"
  }'

# Cancel a scheduled email
curl -X DELETE https://horizon.pm/api/v1/app/email-sending/EMAIL_ID \
  -H "X-API-Key: YOUR_API_KEY"

これらの例では、Unity SDK(C#)とREST APIを使っています。GodotとUnrealでも、それぞれのSDKで同じ呼び出しができます: クイックスタートを参照

よくある質問

よくある質問

統合の準備はできましたか?

horizOn で今日からゲームバックエンドを構築しましょう。無料プラン付き。