Originally posted by Stephen Huey:
I'm writing a batch file on Win 2000, and in the middle of it I'd like to launch a Java application that checks some stuff on my system and sends me an email if there's a problem. What's the simplest way to send a no-frills email in the middle of my program?
If you're looking for a solution, you might think about
ant.
Ant is free available, might be useful for other tasks too, and it would be easy to call ant from your batchfile.
Since Ant is written in Java, you could try to implement your own mailcommands and just learn from them.