LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

warning e-mail

How can I receive a report on my e-mail when a sensor is activated in my labview security sistem? What do I need? I already have the "internet.lib"...do I need a driver or something? Or it's just some simple diagram?
0 Kudos
Message 1 of 10
(4,054 Views)

Have a look at this link.  It talks about the subject and the post at the following link provides an example:

 

http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=151339#M151339

 

Do read the entire thread before trying to run it.  Try to understand the code and configure it to suit your needs.

 

R

Message Edited by Ray.R on 07-08-2009 04:43 PM
0 Kudos
Message 2 of 10
(4,035 Views)
I read it and everything and then I tryied out the exemples...I configured for my e-mail and smtp.mail.yahoo.com but it doesn't work!
0 Kudos
Message 3 of 10
(4,004 Views)

Hi snuk,

do you need authentication for your mail acount? If yes, then search for the OpenG Email vi's, they support authentication.

 

Mike

0 Kudos
Message 4 of 10
(4,000 Views)
why would I need authentification? I just want to receive an e-mail on my yahoo mail account! it's like you're sending an e-mail from an on-line bowser game to an e-mail... or...that's how I see it!
0 Kudos
Message 5 of 10
(3,998 Views)

snuk wrote:
why would I need authentification? I just want to receive an e-mail on my yahoo mail account! it's like you're sending an e-mail from an on-line bowser game to an e-mail... or...that's how I see it!

Because of the spam situation nowadays there are virtually no email providers that can allow to have unauthentificated access to their mailing servers. So you have to have an account and according password and that has to be entered somehow when you try to establish a connection to the server. Apart from various protocols to connect to a mailing server each of them supports various ways of authentification, and some servers support only method X and others only method Y.

 

The LabVIEW provided SMTP VIs do not implement any form of authentification, because they involve various forms of encryption technology that is not only hard to support but also legally challenging when distributing software all over the world.

 

This limitation was fine a few years ago, before the spammers discovered their perverted pleasure but nowadays these VIs will only work when contacting a mailing server that allows open access, and any sane system administrator will only allow that for clients that reside behind the same firewall that their mailing server is located, e.g. your employers mailing server as long as you are connected to the local network, either directly or through some form of VPN.

 

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 6 of 10
(3,993 Views)

so...I guess yahoo and gmail have their own accounts and provide users with accounts and password? if I want to use thier server...of course!

I saw a post of yours and some exemples on how to sand e-mails from labview...and I tryied running them but didn't work...I never got an e-mail! so my question is: are there any free smtp servers that work and what data do I need to insert in the labview diagram to make it work? (besides the destination e-mail and smtp server)  

0 Kudos
Message 7 of 10
(3,985 Views)

First there are probably some free smtp servers that do not require authentification, for whatever curious reasons. Second you do not want to use those servers since they are long ago put on blacklists and have no chance of getting of those lists as long as they are open servers since they get heavily abused as spam sources. You would risk your mails being blocked by most modern spam filters for coming from that server.

 

If you mean free SMTP email VIs that support authentification, I think the aforementioned OpenG VIs are your best bet. The VIs from me you found were just some form of trial and while I have some updated VIs that work with some authentifications I'm not able to post them for free.

 

Rolf Kalbermatter

Message Edited by rolfk on 07-09-2009 11:24 AM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 8 of 10
(3,974 Views)

Hi snuk,

see this link:

http://forums.ni.com/ni/board/message?board.id=170&message.id=220354

 

There you'll find the vi's to send a mail with authentification.

 

Mike

0 Kudos
Message 9 of 10
(3,964 Views)
There's another approach, which is to connect directly to Yahoo's mail server for sending mail to a Yahoo address.  See this thread.
0 Kudos
Message 10 of 10
(3,946 Views)