ppblue
asked on
utility to automatically send email when computer boots
I am looking for a small utility that can be linked to the startup folder of an XP system, and that sends an email automatically to a given address each time the system is started.
The purpose is having the dynamic IP sent each time the system connects to the ISP.
One way I have figured out would be to have an empty email sent, that contains that IP in the header. I wonder if such an utility exists already?
The purpose is having the dynamic IP sent each time the system connects to the ISP.
One way I have figured out would be to have an empty email sent, that contains that IP in the header. I wonder if such an utility exists already?
Break the problem into pieces:
1. Making sure there is a valid IP address and getting this address.
2. Ability to send email from command-line
3. Ability to execute a task just before shutdown.
#1 Find IP address ( Sample given, once you identify what you want, it can be refined. )
- [ Cmd for Batch File] arp.exe -a | find "Interface"
- [ Cmd for Batch File] ipconfig.exe | find "IP Address" | find /v " 0.0.0.0"
- Write Custom Scripts.
#2 Command Line Email: ( Use a ready package or a custom script )
- http://www.blat.net/
- List of various tools:
http://www.freedownloadscenter.com/Email_Tools/Command_Line_Mail_Tools/index2.html
- Write Custom Scripts.
#3 Pre Shutdown program execution:
- http://www.programurl.com/hslab-shutdown-folder.htm
- http://www.wmsoftware.com/shutdownplus/sdpstd.htm
- Write Custom Scripts.
Once you figure out, which solution you want it will be easier to write a custom batch or any other
script for it.
I misread last part of it. Here is correction:
#3 You want something to be executed on boot from startup folder, that is simple.
You don't have to worry about pre-shutdown. Follow #1 and #2 and put your solution script/batch file in startup folder.
#3 You want something to be executed on boot from startup folder, that is simple.
You don't have to worry about pre-shutdown. Follow #1 and #2 and put your solution script/batch file in startup folder.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW, if it is all for dynamic DNS, you should also check out, their free services are good enough to keep up with dynamic IPs.
- http://www.no-ip.com
- http://www.dyndns.org/
- http://www.no-ip.com
- http://www.dyndns.org/
http://www.rik.org/articles/sendemail.htm