07-08-2009 02:50 PM
07-08-2009 03:41 PM - edited 07-08-2009 03:43 PM
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
07-09-2009 03:07 AM
07-09-2009 03:29 AM
Hi snuk,
do you need authentication for your mail acount? If yes, then search for the OpenG Email vi's, they support authentication.
Mike
07-09-2009 03:34 AM
07-09-2009 04:02 AM
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
07-09-2009 04:17 AM
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)
07-09-2009 04:23 AM - edited 07-09-2009 04:24 AM
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
07-09-2009 04:38 AM
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
07-09-2009 07:51 AM