Can you explain me how to use java mail with pop3 support?
I have tryed:
///--------------------------------------------------------
PrintWriter out;
/// ...
Session sess;
Store stor;
try
{
sess=Session.getDefaultInstance(System.getProperties(),null);
stor=sess.getStore("pop3");
stor.connect("mail.dnt.ro","user","xxx");
stor.close();
}
catch (Exception e)
{
out.println("Error :"+e.toString());
}
out.println("Done");
///-------------------------------------------------
And when I execute the servlet, next error apear:
javax.mail.NoSuchProviderException: No provider for pop3
I put the pop3 jar in the orion/lib and /orion ... but nothing.
Cosmin Popa