Automatic Notification via E-mail When a Server's IP Address Changes
Author:Shane M. Croft
This is an application that monitors the local host for IP address changes and notifies a list of people by e-mail if the IP address changes. Both the IP address and the e-mail list are stored between sessions, so it will work, for instance, if the IP change is detected following a re-boot. The code also illustrates a number of useful techniques, such as how to send e-mail via MAPI and how to Winsock API to resolve the local IP address.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.