Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

I am trying to sent email from my program by encounter a run time error

I am writing a program which enables the user to sent email from the GUI but when I run the program, I encounter the following problem :
Non Fatal Run-Time Error

Function INET_SendMail:(return value == -5 [0xfffffffb]
System socket Error

May I know what happen and what is system socket error? How do I solve this problem.

Thanks for your help! Have a nice day
0 Kudos
Message 1 of 2
(3,221 Views)
Make sure your smtp server name is correct, you will need to know this when trying to send email. Your network admin should be able to help you out with that information. The CVI internet toolkit comes with a example of this sort, it's called sendmail.prj. Check that one out.

Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(3,221 Views)