How Can I Add a Timeout to a .NET SMTP Application?

Updated Oct 24, 2020



  • LabVIEW

I want to configure a TimeOut to my .NET SMTP Application, but I don't find how to do it. How can I add a timeout to a .NET SMTP Application?

To add this property, follow the next steps:
  1. Go to your Block Diagram, right click, Application Control > Property Node

2. After inser the property node, right click on "reference" input

3. Right click on "reference" input, go to Select Class > .NET > System.Net.Mail.SmtpClient

4. Click on "Property" and select "Timeout"

5. Right click on "Timeout" and select "Change to Write"

6. Right click on "Timeout" input and select Create>Constant

7. Set the time you want