LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP Error 56

Hi, everyone.

I'm getting the error 56 at sending emai using the SMTP Sending Email Message.

 

I doubt about my server string, for example like smtp.gmail.com or like snt405-m.hotmail.com,  

 

If I'm wrong, how is the correct way to write the mail server string, I added the port like smtp.gmail.com:25 but it doesn't work either.

 

Captura de pantalla 2016-01-29 01.26.57.png

0 Kudos
Message 1 of 6
(5,610 Views)
Error 56 is a timeout error. In other words the remote computer (in this case an SMTP server) didn't respond in time. The first thing to do is see if you can ping the server.

Also, the complete error message should say what stage in the process is returning the error.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 6
(5,591 Views)
What version of LabVIEW are you using? It looks old and the older versions did not support smtp servers (such as gmail) that required authentication.
0 Kudos
Message 3 of 6
(5,573 Views)

I'm using labview version 12.0.

 

And the complete error message  is:

 

Error 56 occurred at TCP Open Connection in NI_SMTPEmail.lvlib:SMTP Email Open Session.vi:3->NI_SMTPEmail.lvlib:SMTP Email Send Message Charset.vi:2->NI_SMTPEmail.lvlib:SMTP Email Send Message.vi:1->BDD.vi

0 Kudos
Message 4 of 6
(5,563 Views)
Upgrade to 2013 or use one of the alternative methods.

http://digital.ni.com/public.nsf/allkb/484272384C2960AA8625749E006512EE
0 Kudos
Message 5 of 6
(5,550 Views)
Thank You, i'm going to check it out. Ando upgrade my labview
0 Kudos
Message 6 of 6
(5,535 Views)