Exemplo n.º 1
0
 /// <summary>
 /// 实例化邮件操作对象
 /// </summary>
 /// <param name="mail">收件人</param>
 public MailHelper(string mail, UserContext userContext)
 {
     To       = mail;
     MailBody = $"验证码:{UserServer.GetVerificationCode(mail, userContext)}";
 }