Email from NI3000
m.quinti
Posts: 16
Dear all,
We are facing a challange in our project which we can solve.
We need to send often an email from a NI3000 including its Public IP for our remote control of the customer system.
Then, we have two questions:
1) How to do in the programming for to seach the Public IP?
2) Is it possible to send email from the NI3000?
Can someone help us?
Thank you in advance
We are facing a challange in our project which we can solve.
We need to send often an email from a NI3000 including its Public IP for our remote control of the customer system.
Then, we have two questions:
1) How to do in the programming for to seach the Public IP?
2) Is it possible to send email from the NI3000?
Can someone help us?
Thank you in advance
0
Comments
You can use IP_CLIENT_OPEN and HTTP commands to connect to something like checkip.dyndns.org and get your public IP. In fairness to dyndns.org, you probably shouldn't use that UNLESS you have a dyndns.org account. (In which case you wouldn't be needing to email yourself the IP address in the first place) I'm sure there are other websites you can ping to find out what the public IP address is - your client's ISP might even have one of their own.
- Chip
Then you don't have to unfairly utilize someone's free service for commercial purposes.
I remember a situation where we had issues with a Dynamic DNS service so we set up the router on site to e-mail logs to us on a daily basis just in case. We just checked the IP address in the e-mail that we sent ourselves and that allowed us to log in to the Netlinx controllers on site.
--John