01-11-2011 02:26 PM
I am trying to have my cfp-2120 send emails. I am using labview 2010. I have tried using the VIs that were provided above but I am still getting Error 53, Error 53 occurred at ??? in NI_SMTPEmail.lvlib:SMTP Email Send Message.vi:1->ACE RT Main.vi
Possible reason(s): LabVIEW: Manager call not supported
Do you have any advice?
01-11-2011 02:35 PM
Hi DrewCommPower,
The built-in SMTP VIs do not support authentication protocols, so you won't be able to send emails to Gmail accounts. I would continue searching other threads for this question; I think there is some workaround code. You can also try looking at these tools: http://wiki.openg.org/OpenG_Internet_Connectivity_Tools. It's old, but could work in this case.
01-11-2011 04:34 PM
Emailing to gmail would be nice but I am just looking to get an email an email through our company's mail server and on to outlook. I had some trouble with your linked VIs. I have attached the server/client dialog that it produced. Any ideas?
01-11-2011 05:04 PM
Error 56 is a TCP timeout.
Is port 25 allowed on your network? One easy way to check is to use the VI on your localhost first and send a test email. Also, how is the cRIO connected to the network?
02-05-2014 09:53 AM
I just wanted to revisit this subject. Is there a solution for sending authenticated SMTP email using native code (i.e. not using a .NET object, thus allowing for real-time targets)? I've searched, but haven't seen a definitive response. Thanks.
02-06-2014 01:46 PM
Hi JoeLesker,
Unfortunately, Gmail requires .NET authentication to send emails which is not compatible with RT targets.
Depending on your application, it might be beneficial to transfer files using the FTP to the host computer and have the host computer send email notifications.
Regards,
Jordan G.
02-06-2014 01:52 PM
Thanks for the reply Jordan. Doing StartTLS authentication using native Labview should be possible, I was just wondering if anyone had done it yet.
I'm using a sbRIO, and the host won't always be available. So I was hoping to have the real time target handle all the internet communications.
02-07-2014 06:07 PM
Hi JoeLesker,
Have you tried installing the SMTP with SSL Support to your real-time target? This will enable SSL support with SMTP functions on a real-time target and will allow using Gmail from a LabVIEW RT target.
Regards,
Jordan G.
02-10-2014 07:34 AM
Thanks. It appears that is new with LV 2013, correct? I was still using 2012 with this project.