Wednesday, April 17, 2002 09:07 AM
I am using JavaMail1.2 in a Java application to send some emails. When I add mail.jar and activation.jar to my classpath and run the application I get a "NoSuchProviderException: No provider for Address type: rfc822".
But when I put the jar-files in the jre/lib/ext-directory it works fine. I do not use any SecurityManager and I use an unmodified jar-file as the FAQ says. What should I do to be able to set these jars in the classpath?