
您的SMTP,您的品牌
邮件来自您的域名。horizOn从不代您发送 -- 您完全控制可送达性和品牌形象。
带变量的模板引擎
使用{{username}}或{{eventTime}}等占位符创建可复用的HTML模板。支持多达15种语言。
立即或定时发送
立即发送邮件或安排稍后发送。随时通过API取消计划中的邮件。
专为游戏事件构建
锦标赛提醒、购买确认、不活跃提示、欢迎邮件。一次API调用触发整个流程。
快速集成
// 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);这些示例使用 Unity SDK(C#)和 REST API。Godot 和 Unreal 在各自的 SDK 中有相同的调用: 参见快速入门
