LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Emails using .NET don't send after building application

I'm having an issue trying to deploy an application of mine. I had used .NET to send emails due to it supporting authentication, emails are sent when a level sensor reads higher than a certain value. The code itself executes when in the project, but when I try to create an application through the build specifications menu, the email feature no longer works. I don't recieve any errors and all other aspects of my program work flawlessly, but for some reason email just doesn't send. I've run the application on a variety of desktops each with the .NET runtime on them, so I don't believe that would be an issue.

 

Is there something I have to include in the project files for this to to work, or something else completely?

I live for kudos!
0 Kudos
Message 1 of 2
(2,391 Views)

Hi TheDude87,

 

When you say you've run the application on a variety of desktops with the .NET runtime engine, does this mean that it works on other machines or that none of these machines were able to send emails? Also, can you run the executable on the machine you created it on? It may also be possible that firewalls are blocking the executable. If possible, disable the firewalls and try again. If this doesn't work, try building a debuggable executable so you can see exactly where the process breaks down.

Josh Y.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,363 Views)