FunGame-Core/Model/SmtpClientInfo.cs
milimoe b25698d91b
服务器插件优化;物品添加魔法技能组,文本优化 (#100)
* 添加了 SQLHelperFactory;完善了物品的描述信息;一些代码风格修改

* 构造的物品默认 1 级;为服务器插件添加控制器;添加邮件发送器的工厂;在物品中添加魔法技能组
2024-11-13 09:18:58 +08:00

25 lines
815 B
C#

using Milimoe.FunGame.Core.Interface.Base;
namespace Milimoe.FunGame.Core.Model
{
public class SmtpClientInfo : IMailSender
{
public string SenderMailAddress { get; set; } = "";
public string SenderName { get; set; } = "";
public string SenderPassword { get; set; } = "";
public string Host { get; set; } = "";
public int Port { get; set; } = 587;
public bool SSL { get; set; } = false;
internal SmtpClientInfo(string senderMailAddress, string senderName, string senderPassword, string host, int port, bool ssl)
{
SenderMailAddress = senderMailAddress;
SenderName = senderName;
SenderPassword = senderPassword;
Host = host;
Port = port;
SSL = ssl;
}
}
}