2021年10月26日 星期二

[研究] IIS SMTP 6.0 在 Windows Server 2022 有 Bug 無法用?

[研究] IIS SMTP 6.0 在 Windows Server 2022 有 Bug 無法用?

2021-10-26

(下圖) Windows Server 2022 Standard 上,在 IIS SMTP 6.0 的 Internet Information Services (IIS) 6.0 Manager 的 [SMTP Virtual Server #1] 上按下滑鼠右鍵,選「內容」


(下圖) 結果出現「告知Microsoft這個錯誤然後關閉MMC」、「略過這個錯誤並繼續執行」。
選「告知Microsoft這個錯誤然後關閉MMC」,畫面就關閉了。
選「略過這個錯誤並繼續執行」,畫面是仍在,但 ... 我要設定它啊 ...



(下圖) 這是 Windows Server 2019 的 IIS SMTP 畫面,正常而言,Windows Server 2022 應該也是此畫面。

********************************************************************************

Google 了一下

[Server Buld 20303.1] IIS 6 Manager crashes trying to edit SMTP Virtual Server Properties - Microsoft Tech Community
https://techcommunity.microsoft.com/t5/windows-server-insiders/server-buld-20303-1-iis-6-manager-crashes-trying-to-edit-smtp/m-p/2215174

********************************************************************************

Kevin Shaughnessy - Sr. Program Manager - Microsoft Exchange Transport
凱文·肖內  高級項目經理  Microsoft Exchange

Features Removed or Deprecated in Windows Server 2012
Windows Server 2012 中刪除或棄用的功能
https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh831568(v=ws.11)

SMTP

SMTP and the associated management tools are deprecated. Though the functionality is still available in Windows Server 2012, you should begin using System.Net.Smtp. With this API, you will not be able to insert a message into a file for pickup; instead configure Web applications to connect on port 25 to another server using SMTP.

不推薦使用 SMTP 和相關的管理工具。儘管該功能在 Windows Server 2012 中仍然可用,但您應該開始使用 System.Net.Smtp。使用此 API,您將無法將消息插入文件中以供取件;而是將 Web 應用程序配置為使用 SMTP 在端口 25 上連接到另一台服務器。

註:上面疑似寫錯,不是 System.Net.Smtp,是 System.Net.Mail。

********************************************************************************

You'd have to write an application using System.SMTP.Mail or update an existing app to use it. MailKit is another popular SMTP set of services - still requires coding though. Other alternatives include turboSMTP (https://www.serversmtp.com/smtp-for-windows/), a popular SMTP service for Windows that doesn't require coding.

您必須使用 System.SMTP.Mail 編寫應用程序或更新現有應用程序才能使用它。MailKit 是另一個流行的 SMTP 服務集——不過仍然需要寫程式。其他替代方案包括 turboSMTP ( https://www.serversmtp.com/smtp-for-windows/ ),這是一種流行的 Windows SMTP 服務,不需要寫程式。

********************************************************************************

System.Net.Mail

System.Net.Mail 命名空間 | Microsoft Docs
https://docs.microsoft.com/zh-tw/dotnet/api/system.net.mail?view=net-5.0

SmtpClient 類別 (System.Net.Mail) | Microsoft Docs
https://docs.microsoft.com/zh-tw/dotnet/api/system.net.mail.smtpclient?view=net-5.0

SmtpClient.Send 方法 (System.Net.Mail) | Microsoft Docs
https://docs.microsoft.com/zh-tw/dotnet/api/system.net.mail.smtpclient.send?view=net-5.0

[研究][C#][ASP.NET] 加簽寄信 (使用 System.Net.Mail.MailMessage)
http://shaurong.blogspot.com/2019/10/caspnet-systemnetmailmailmessage.html

********************************************************************************

(完)

沒有留言:

張貼留言