Hello,

I am creatting a java application that scans log files from the web servers,
and sends emails of any errors to our team. I need to use the javamail API
in order to send the email. I have the download from Sun, but they refer to
a CLASSPATH and I do not know where to set this. I also tried to add the jar
file to VisualCafe, and it said the jar contained no beans. Can anyone
assist? I've never used components or beans... just the built in classes
java.io javax.swing...

If you can help, I would appreciate it.

-Todd

  2. Set your CLASSPATH to include the "mail.jar" file obtained from
     the download, as well as the current directory.

     Assuming you unzipped javamail1_1_3.zip in c:\download the
     following would work:

      set CLASSPATH=%CLASSPATH%;c:\download\javamail1_1_3\mail.jar;.

    Also include the "activation.jar" file that you obtained from
    downloading the JavaBeans Activation Framework, in your CLASSPATH.

      set CLASSPATH=%CLASSPATH%;c:\download\activation\activation.jar

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to