cd /export/home1/root/tools/ unzip downloads/javamail-1.4.5.zip cd javamail-1.4.5 cp mail.jar /usr/local/tomcat/common/lib/If you don't have
mail.jar
, then you will see:
Generated servlet error: [javac] Compiling 1 source file /usr/local/apache-tomcat-4.1.39-LE-jdk14/work/Standalone/localhost/trustj/resetpassword_jsp.java:180: cannot access javax.mail.MessagingException class file for javax.mail.MessagingException not found emailMsg.send();
The next step is Preparing a javapages release for the website.