Error 7 With SMTP Email From RT Controller

Updated Dec 29, 2017

Reported In

Software

  • LabVIEW Real-Time Module

Operating System

  • PharLap
  • NI Linux Real-Time
  • VxWorks

Issue Details

I am able to send e-mails using the SMTP e-mail VIs from my computer without issue, but when I try to do the same from my real-time controller, I get the following error:

Error 7 occurred at Call Library Function Node in LabVIEWSMTPClient.lvlib:Open Handle.vi:1020005->LabVIEWSMTPClient.lvlib:subSendEmail.vi:1150004->to-delete.vi:Instance:0:480002->to-delete.vi

Possible reasons(s):

LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.

 

Solution

The cause of this error is because SMTP Client with SSL Support is not installed on the real-time target. Once you install that component, as shown below, the error should go away.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful