LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending email via smtp.gmail.com in cvi 2017

I found that i should be using a .NET controller but i have no idea on how. it tells me to add a valid instrument path but I have no idea how to do it. is there a way to not use .NET controller? or how to use it so it send and email?

i tried using the InetSendMail function, is there a better one?

0 Kudos
Message 1 of 3
(2,574 Views)

Hi,

 

Have you tried using the CVI example that sends emails based on the SMTP protocol (sendmail.cws)? This does use the InetSendMail function. Are you having problems with this function?

0 Kudos
Message 2 of 3
(2,203 Views)

Hi,

Why don't you use libCURL for that ? This lib is very easy to use !

https://curl.haxx.se/

 

InetSendMail() is ok if you don't use authentication...

 

Alain

Message 3 of 3
(2,171 Views)