New
#1
Script to get IP address and send email every so often
Hi there
any decent programmers out there who can generate a script for me that does the following :
1) Get my IP address
2) send an email say every 30 mins (or user settable) to a FIXED email address - or even a text to a mobile phone.
The reason I want this is that services like no-Ip are going "PAY FOR" or you get some silly restrictions on the free stuff like re-register every few days or the IP address detection program runs every minute which is a nonsense --with Fibre connections to your ISP the IP address doesn't change much (if at all) while you are connected to the Internet - but only at boot.
That way I can access my home computer without needing to get a commercial domain etc -- on the LOCAL LAN the server has a fixed IP address so port forwarding isn't a problem for using things like RDP.
Please don't suggest TEAMVIEWER -- don't want or need it. My upload speed on ISP is perfectly good enough for me to be independent of this type of service.
Even if you run say an apache (LAMP / WAMP) server you will get access to it easily enough via its IP address of you know it.
Surprised some of the experienced coders out there haven't done this type of thing. Should be easy enough to issue a command to get your external IP address (Router gives you that without even needing Internet access from the HOST) , push the output say to a notepad file and then send email with the notepad attachment.
I'm not a coder --I know what to do --but not how to do it !! so any help there would be fine --don't care if it's C, C++, VB or anything so long as it works !!
Cheers
jimbo