Envoi d'Email

Rejoignez vos joueurs au-delà du jeu avec l'email transactionnel

Démarrer gratuitement

Votre SMTP, Votre Marque

Les emails viennent de votre domaine. horizOn n'envoie jamais en votre nom -- vous gardez le contrôle total sur la délivrabilité et l'image de marque.

Moteur de Modèles avec Variables

Créez des modèles HTML réutilisables avec des espaces réservés comme {{username}} ou {{eventTime}}. Prend en charge jusqu'à 15 langues.

Livraison Immédiate ou Programmée

Envoyez des emails instantanément ou programmez-les pour plus tard. Annulez les emails programmés à tout moment via l'API.

Conçu pour les Événements de Jeux

Alertes de tournois, confirmations d'achat, nudges d'inactivité, emails de bienvenue. Un appel API déclenche tout le flux.

Intégration rapide

Intégration rapide

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"

Ces exemples utilisent le SDK Unity (C#) et l'API REST. Godot et Unreal ont les mêmes appels dans leurs propres SDK : voir le démarrage rapide

Questions fréquentes

Questions fréquentes

Prêt à intégrer ?

Commencez à construire avec horizOn dès aujourd'hui. Tier gratuit inclus.