Envio de Email

Alcance seus jogadores além do jogo com email transacional

Começar grátis

Seu SMTP, Sua Marca

Os emails vêm do seu domínio. horizOn nunca envia em seu nome -- você mantém controle total sobre entregabilidade e branding.

Motor de Templates com Variáveis

Crie templates HTML reutilizáveis com espaços reservados como {{username}} ou {{eventTime}}. Suporta até 15 idiomas.

Entrega Imediata ou Agendada

Envie emails imediatamente ou agende para depois. Cancele emails agendados a qualquer momento via API.

Criado para Eventos de Jogos

Alertas de torneios, confirmações de compra, nudges de inatividade, emails de boas-vindas. Uma chamada API aciona todo o fluxo.

Integração rápida

Integração rápida

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"

Estes exemplos usam o SDK do Unity (C#) e a API REST. Godot e Unreal têm as mesmas chamadas nos seus próprios SDKs: veja o quickstart

Perguntas frequentes

Perguntas frequentes

Pronto para integrar?

Comece a construir com o horizOn hoje. Tier gratuito incluído.