Peivareh wrote:

> Thanks,
>
> Now my servlet returns me some information so I can get the properties
> invoking "props.list(out)" but errors occure wenn the servlet tries this
> line:
>             store = session.getStore(protocol);
> The error is: No provider for pop3
>
> But the same program works as an application on the same machine with no
> problem!!
>

One possible cause for this would be if the "pop3.jar" file was not on the
class path used by your servlet engine to execute servlets.  How this is
configured depends on what servlet engine you are using -- but some engines do
not use the CLASSPATH environment variable (or the "java.class.path"
property), so you will need to check the docs on your servlet engine for more
information.

Of course, you will need the "mail.jar" file as well, to use the basic
JavaMail classes and interfaces.

Craig McClanahan

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to