06-23-2014 03:13 PM
I tried to send email with hotmail smtp server (smtp.live.com) using .net reference.
It seems to wok but after 2 or 3 runs, I begins to not working : non error but I did not receive the email and credential account receive an delivery Status Notification (Failure).
I tried with closing all the reference after calling .NET node and alos without closing it... all the same, afert few calling it didn't work
When I rebbot my PC, It work. Is it a refrence issue ???
Please see in attchement my VI.
I have Labview 2009 SP1, running on windows 7. I call system 2.0.0.0 .NET refrerence.
Do you have any ideas ?
Thanks
06-24-2014 10:55 AM - edited 06-24-2014 10:56 AM
I looked at your Block Diagram.
I would suggest removing the Case Structure and just close the references instead of having an option.
(Set the Case Structure to the "True" Case, Right click the case structure and select "Remove Case Structure", then delete the Boolean control)
This will ensure we are always closing our references.
06-25-2014 08:14 AM
Thanks but its wht I do first (see the code in attchment). It does not work after few sending.
I need your support.
06-26-2014 02:34 PM
For the most part your VI follows this example:
http://digital.ni.com/public.nsf/allkb/484272384C2960AA8625749E006512EE
The problem may reside in the data flow of your code, or settings which prevent this from running successfully multiple times.
There are some debugging tools you can try here:
http://digital.ni.com/public.nsf/allkb/57597451D40737058625729900589452?OpenDocument
http://www.ni.com/gettingstarted/labviewbasics/debug.htm#Block Diagram Toolbar
10-03-2014 05:05 AM
Hi Mark
I am using the example code https://decibel.ni.com/content/docs/DOC-2401
It was working very well for poet 25. But now I have to send email and SMS to port 465.
My setting are:
Mail server: send.xtra.co.nz
Port:465
SSL: on
User name: XXXXX
Passsword: ********
Those settings are working for outlook. But its dont work for the code now.
I have got error message. Please see the attachment.
Please help me to fix the problems.
Thanks
Hong
10-21-2017 07:23 AM
Hong, I know it's been a few years, but now I am encountering the same problem as you because of an upcoming change by AOL/Verizon. I'm able to use ports 25 & 587 as shown in this thread's examples, but not 465. Were you ever able to find a solution?