邮件修改

This commit is contained in:
2022-11-07 18:23:14 +08:00
parent 21acd1639a
commit daddf607fb
2 changed files with 10 additions and 10 deletions
@@ -20,9 +20,9 @@ public static class SendEmailHelper
smtp.ServerCertificateValidationCallback = (s, c, h, e) => true;
await smtp.ConnectAsync("smtp.163.com", 465, SecureSocketOptions.SslOnConnect);
await smtp.ConnectAsync("smtp.qq.com", 465, SecureSocketOptions.SslOnConnect);
await smtp.AuthenticateAsync("iracis_grr@163.com", "XLWVQKZAEKLDWOAH");
await smtp.AuthenticateAsync("zhou941003@qq.com", "sqfhlpfdvnexbcab");
await smtp.SendAsync(messageToSend);