rcvalenzuela Posted June 26, 2008 Report Share Posted June 26, 2008 I need to implement email notification and I would like to use servers that require authentication (possibly gmail). I have read in other topics that LV VI's do not support authentication and I would like to know if there exists the possibility of using some kind of external library to which the LV could connect and that would handle the email sending and authentication. If you could give me your opinions on this it would be really helpful. 1.- Are there any libraries developed that could be bought and then used in conjunction with LV? 2.- Does this seem to be an appropriate solution to the problem? Thank you very much Quote Link to comment
Mark Smith Posted June 26, 2008 Report Share Posted June 26, 2008 If you're comfortable with .NET and don't mind a Windows-only solution, I've had good luck with the .NET products from Advanced Intellect ( http://www.advancedintellect.com/ ) I haven't used them with LabVIEW (I used them with C#/Visual Studio 2005) but they worked well for secure email and I got good support from the vendor. It should be relatively easy to create a dll (assembly) with methods optimized for calls from LabVIEW. Mark Quote Link to comment
Yair Posted June 28, 2008 Report Share Posted June 28, 2008 Did you see this post? Quote Link to comment
serro Posted August 27, 2008 Report Share Posted August 27, 2008 You can use the System.Net.Mail Namespace if you're comfortable using the .NET framework which is generally pretty easy to do. Here's the MSDN documentation for it: http://msdn.microsoft.com/en-us/library/system.net.mail.aspx Attached is an example VI I've used to send a text message to my phone in the event of an error using Gmail. Gmail is great in that it provides a smtp server, and the SmtpClient constructor is pretty easy to use. Usually what I'll do is create a Gmail account for a particular piece of test equipment or system that's under monitoring and since my cell phone provider is Verizon I can just send an email to my <phone #>@vtext.com and it will be sent to my phone as a text message. Let me know if you have any problems with the attached VI. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.