Files
ServerStudy/邮件系统课程完整代码/Server/Hotfix/Mail/Handler/Inner/Other2Mail_SendRequestHandler.cs
2026-03-05 11:39:06 +08:00

12 lines
403 B
C#

using Fantasy.Async;
using Fantasy.Network.Interface;
namespace Fantasy;
public class Other2Mail_SendRequestHandler : RouteRPC<Scene, Other2Mail_SendMailRequest, Mail2Other_SendMailResponse>
{
protected override async FTask Run(Scene scene, Other2Mail_SendMailRequest request, Mail2Other_SendMailResponse response, Action reply)
{
await MailHelper.Send(scene, request.MailBox);
}
}