From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



我要怎麼從 LabVIEW 經過一個 Secure SMTP Server 像是 GMAIL 來發送 E-mail ?



主要軟體:
主要軟體版本: 1.0
主要軟體修正版本:
次要軟體: N/A

問題: 我想要讓我的 VI 發送 email alert,但是我唯一能進入的發送郵件伺服器 (SMTP) 需要經過 Tansport Layer Security (TLS) 或 Secure Sockets Layer (SSL) 驗證。我要怎樣才能做到?

解答:

以 LabVIEW 8.6 來說,並無既有的功能可以經由需要驗證的 server 來發送 Email,內建的 SMTP 只能在開放的 server 下動作。

Microsoft .NET 有提供一個直接的介面來發送驗證的 Email,而 LabVIEW 可以與之連結互動。這個方法在 System.smtpClient class。附件 VI 提供了一個範例可以用 GMAIL 的帳號來發送 Email。



相關連結:

附加檔案:





報告日期: 08/07/2008
最後更新: 04/01/2009
文件偏號: 4O6CQF8A