修改邮件
parent
596ba08809
commit
6800556c26
|
@ -21,7 +21,7 @@ public static class SendEmailHelper
|
||||||
|
|
||||||
smtp.ServerCertificateValidationCallback = (s, c, h, e) => true;
|
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");
|
await smtp.AuthenticateAsync("iracis_grr@163.com", "XLWVQKZAEKLDWOAH");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue