Exception No provider for POP3
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Nalini_T
Posted On:   Wednesday, June 20, 2001 11:54 PM

When I recieve mails using POP3 I am displayed this Exception. In the NOTES.txt provided with JavaMail-1.2 api the reason given for this exception is Unjaring mail.jar. Even though I have taken care not to unjar mail.jar the problem i still persisting. environment variable settings- g:> g:jdk1.3 in;g:jdk1.3lib;g:jdk1.3;.;g:javamail-1.2mail.jar;g:jdk1.3libactivation.jar The .class file is present in g:jdk1.3 The mail.jar file is present in g:jdk1.3lib; Stack Trace: G:jdk1.3>java pop Exception No provider for POP3 javax.mail.NoSuchProviderException: No provider for POP3 at java   More>>

When I recieve mails using POP3 I am displayed this Exception.






In the NOTES.txt provided with JavaMail-1.2 api the reason given for this exception is Unjaring mail.jar. Even though I have taken care not to unjar mail.jar the problem i still persisting.






environment variable settings-

g:> g:jdk1.3 in;g:jdk1.3lib;g:jdk1.3;.;g:javamail-1.2mail.jar;g:jdk1.3libactivation.jar

The .class file is present in g:jdk1.3
The mail.jar file is present in g:jdk1.3lib;






Stack Trace:

G:jdk1.3>java pop
Exception No provider for POP3
javax.mail.NoSuchProviderException: No provider for POP3
at javax.mail.Session.getProvider(Session.java:289)
at javax.mail.Session.getStore(Session.java:363)
at javax.mail.Session.getStore(Session.java:343)
at pop.main(pop.java:20)

   <<Less

Re: Exception No provider for POP3

Posted By:   Kashif_Rasheed  
Posted On:   Monday, June 25, 2001 11:35 PM

Nalini, try with IMAP protocal in place of POP3, i feel that the server does't support POP3.
About | Sitemap | Contact