Re: No Such Provider Exception
Posted By:
John_Zukowski
Posted On:
Thursday, May 31, 2001 10:38 PM
It's possible that you are only using part of the 1.2 JavaMail distribution. There is one .jar file that has no providers. If you are using mailapi.jar, you must also have smtp.jar installed. If you are using mail.jar, you have the SMTP provider. Another possibility is conflict mail.provider files if you are using providers not from Sun.
Re: No Such Provider Exception
Posted By:
Michael_Wax
Posted On:
Thursday, May 31, 2001 02:05 PM
A NoSuchProviderException is thrown if a Provider class, as defined in the javamail.providers resource file, is not found. Do you have this file set up?
Do you have an SMTPTransport class?