Jump to content

email with authentication


Recommended Posts

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

Link to comment

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

Link to comment
  • 1 month later...

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.