ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Email Sever

Solved!
Go to solution

How do I specify the security protocol for an email server when using SMTP email functions.

I would like to auto-generate and send emails on a certain time interval.

I can do so to mail servers such as AOL, Yahoo, etc.

However, the email for the company I work for (Michigan State University) uses TLS protocol.

How can I specify this when using the SMTP functions, and provide log-in information if neccessary?

Cory K
0 Kudos
Message 1 of 3
(3,229 Views)
Solution
Accepted by topic author Cory_K
The built-in email VIs do not support authentication or security protocols like TLS. You will need to use an alternate method, such as .NET, if you're on Windows, or use the Open G SMTP library. .NET supports TLS, but I don't think the Open G SMTP VIs do. You can find examples of using .NET in the Developer Zone. E.g., : http://search.ni.com/nisearch/app/main/p/y/0/q/tls/x/0/
Message Edited by smercurio_fc on 05-12-2009 12:41 PM
0 Kudos
Message 2 of 3
(3,226 Views)

I will mark Smercurio's post as the solution, since he led me there.

But in case anyone comes across the same issue, here is the VI I found that works.

Its the one that says Gmail.VI.

You can edit the server to any TLS server (ie mail.msu.edu in my case).

Cory K
0 Kudos
Message 3 of 3
(3,219 Views)