OK, so, I have Googled this extensively, but still not sure what I'm doing wrong.
My program does reference javax.mail.*, and I only get the error when running from the command line (otherwise, do not get it);
So I have downloaded javamail 1.4.3 and put mail.jar and smtp.jar in the C:\Program Files\Java folder, then added:
C:\Program Files\Java\mail.jar;C:\Program Files\Java\smtp.jar to my environment variables
string.
If interested, my entire CLASSPATH string is: C:\Program Files\VERITAS\Backup Exec\NT\ECM\bumodule.jar;C:\Program Files\VERITAS\Backup Exec\NT\ECM\LOG4J-CORE.JAR;C:\Program Files\VERITAS\Backup Exec\NT\ECM\LOG4J.JAR;C:\Documents and Settings\inforadmin.PASCOUTIL\My Documents\NetBeansProjects\CMMS_SCADA\src\cmms_scada;.;C:\Program Files\java\mail.jar;C:\Program Files\java\smtp.jar;
This didn't work, and I even added the .jar files explicitly to my library in NetBeans. Still no-go. I don't think the code is necessary for anyone to help, but I can post it, if desired. I'm just scratching my head on this one. Anyone???
As always, thank you in advance!!!