How do you block your IP address when emailing people?

Does anyone have a script on emailing a public IP address whenever it changes, for WINDOWS?

  • Does anyone have a script on emailing a public IP address whenever it changes, for WINDOWS? Possibly something that I can set up a schedualed task to run. I am not a coder/scripter but I would like to get into it for automation purposes. Im a smart guy and I adapt well with new concepts but I am more trained on the network admin side of things (yet Im stuck in a software support desk job). So, if I sound out of place or ignorant let me know but I would appreciate the help. I have read plenty of articles on people wanting the same script as me but they are always some kind of Bash script. I put Suse on a virtual box on my server at home but I can't seem to get the bash script to work (frankly, I would rather have a windows script or batch file to run). I have a forwarder set up on my router so that I can remote in from where ever, but my dynamic IP changes often. I know I can set up a free domain to manage this but Im to interested on getting this to work because it is just more fun. Im a newby, so be descriptive please.

  • Answer:

    There are many ways you can do this. You need a way to determine your external IP address, and a way to send an email. I was a little bored and had a go at making one :) (its not a masterpeice, but it successfully emailed me my IP address). It checks to see what your ip was last time the script ran, and does not send a message if its the same. i used curl ( http://curl.download.nextag.com/download/curl-7.19.5-win32-nossl.zip ) to determine the external ip address, using a web-based ip checker and blat ( http://sourceforge.net/projects/blat/files/ ) to send an email the batch file can be found here: http://dl.dropbox.com/u/997026/compair.bat hope it helps.

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.