LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

check email server

I would like to create a vi that will check if there is an e-mail received on a POP or SMTP mail server.Ofcourse the username and password will be provided. Is it feaseable? If so can I have an axample vi?
 
Thanks
0 Kudos
Message 1 of 5
(3,945 Views)
Such a vi does exist. Only I am not sure whether it is part of the internet toolkit or some community shared code. Anyways: you do not need to develop it yourself.

Aart-Jan
0 Kudos
Message 2 of 5
(3,931 Views)
Hello,
 
There are mail/attachment sending VIs that you can find in the Communications -> SMTP E-mail palette.  Generally speaking, the internet toolkit contains palettes for ftp, telnet, url clients, XML parsing, cgi.  I suppose you could use an underlying protocol to the SMTP server, TCP perhaps (there is a palette in the communications palette), to access the server to indicate reception... but I think that would require some specific knowledge about what the server expects. 
 
HOWEVER, I think others have used ActiveX containers with Outlook, and thus really use LabVIEW as an ActiveX client to Outlook.  The following link to another discussion forum stream indicates that someone has written a VI which does this, and posted at a site they link there; here is the link to the forum stream:
 
 
You can also look at the shipping examples (Help -> Find Examples...) in LabVIEW; click the Search tab in the Example Finder when it lauches and searh the word ActiveX.  Then double click any keyword in the list to get a list of relevant examples.  Also, if you type ActiveX into the search field at ni.com you'll get a number of documents dicussing the use of ActiveX in LabVIEW.
 
I hope this helps!
 
Best Regards,
 
JLS
 
 
Best,
JLS
Sixclear
0 Kudos
Message 3 of 5
(3,926 Views)
Thanks for trying but both the replies do not answer my query. I am aware of and have used most of the TCP,FTP and Telnet vi succesfully. I am aware of the example code that will allow me to send e-mails with attachements. I was wondering if I could check e-mail servers to see if my account has any thing in inbox. One of the replies mentioned Oulook ActiveX control. I would eventually try that. But I was thinking that it should be possible with one of the vi that came with LabVIEW's Internet toolkit. And no third party tool should be needed.
 
Thanks
0 Kudos
Message 4 of 5
(3,912 Views)
Which is true..
There are two all G POP3 solutions already available. One is from openG (old link) and one is an LLB from a - to me - unknown source. Both can be used to communicate with POP3 mail servers (meaning NOT SMTP). That seems to me is exactly what you are asking for. I Pattached the POP library from unknown source. I could not find any license limitations in its documentation. It is not mine and would like to thank the maker for this wonderful product. As for the OpenG code, I am not sure whether they still distribute it (maybe it is one and the same with the attached llb).

0 Kudos
Message 5 of 5
(3,902 Views)