Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

send email

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

0 Kudos
Message 1 of 6
(6,656 Views)

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.

0 Kudos
Message 2 of 6
(6,637 Views)

Thanks but its wht I do first (see the code in attchment). It does not work after few sending.

 

I need your support.

0 Kudos
Message 3 of 6
(6,626 Views)

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

0 Kudos
Message 4 of 6
(6,613 Views)

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

 

0 Kudos
Message 5 of 6
(6,252 Views)

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?

0 Kudos
Message 6 of 6
(3,461 Views)