Test.EIImageViewer
hang 2022-11-25 16:48:48 +08:00
parent 87a9eb1c5b
commit c7296f44df
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
},
"SystemEmailSendConfig": {
"Port": 25,
"Port": 465,
"Host": "smtp.qiye.aliyun.com",
"FromEmail": "test@extimaging.com",
"FromName": "Test_IRC",

View File

@ -19,7 +19,7 @@
},
"SystemEmailSendConfig": {
"Port": 25,
"Port": 465,
"Host": "smtp.qiye.aliyun.com",
"FromEmail": "uat@extimaging.com",
"FromName": "UAT_IRC",

View File

@ -27,7 +27,7 @@ public static class SendEmailHelper
//await smtp.AuthenticateAsync("zhou941003@qq.com", "sqfhlpfdvnexbcab");
await smtp.ConnectAsync(_systemEmailConfig.Host, _systemEmailConfig.Port, SecureSocketOptions.Auto);
await smtp.ConnectAsync(_systemEmailConfig.Host, _systemEmailConfig.Port, SecureSocketOptions.SslOnConnect);
await smtp.AuthenticateAsync(_systemEmailConfig.FromEmail, _systemEmailConfig.AuthorizationCode);