When I coded the java mail code and try to execute it throws the
following error,can anyone
help me out in resolving the same so that it can successfully
executes:
error:-
DEBUG: not loading system providers in <java.home>/lib
DEBUG: not loading optional custom providers file: /META-INF/
javamail.providers
DEBUG: can't load default providers file/META-INF/
javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {}
DEBUG: Providers Listed By Protocol: {}
DEBUG: not loading optional address map file: /META-INF/
javamail.address.map
Thanks
Roedy Green - 28 Jun 2007 21:34 GMT
>When I coded the java mail code and try to execute it throws the
>following error,can anyone
>help me out in resolving the same so that it can successfully
>executes:
sounds like you don't have mail.jar on the classpath or ext directory.
See http://mindprod.com/jgloss/javamail.html
http://mindprod.com/jgloss/classpath.html
Run WASSUP at http://mindprod.com/applets/wassup.html
look at
java.ext.dirs = E:\program
files\java\jdk1.6.0_01\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
Make sure mail.jar lives there.
--
Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com