修改邮件
This commit is contained in:
@@ -21,7 +21,7 @@ public static class SendEmailHelper
|
||||
|
||||
smtp.ServerCertificateValidationCallback = (s, c, h, e) => true;
|
||||
|
||||
await smtp.ConnectAsync("smtp.163.com", 465, SecureSocketOptions.StartTls);
|
||||
await smtp.ConnectAsync("smtp.163.com", 465, SecureSocketOptions.SslOnConnect);
|
||||
|
||||
await smtp.AuthenticateAsync("iracis_grr@163.com", "XLWVQKZAEKLDWOAH");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user