The problem could be
1 . U are trying to use a protocol that is not supported by javamail (
I'am using imap to access mails and smtp to send mails ) check if U have
spelt the protocol properly and I think they are case sensitive .
2. The CLASSPATH for the servlet engine may not have been set to the
mail.jar file . Look into the shell script that starts the servlet engine.
I may contain code viz EXPORT CLASSPATH.... add the mail.jar file here
Regards
Mano.
On Mon, 3 May 1999, Jim Driscoll wrote:
> is everything in the Classpath? is it in the servlet directory? if
> it's in the servlet dir, move it into the classpath?
>
> Jim
>
> Jeetandra Mahtani wrote:
> >
> > Hello,
> > I had to write an application(serlvet) that would need to use the
> > JavaMail API. I
> > downloaded it and unzipped it. One of the files was the mail.jar which
> > contained all the classes. Now, I imported the mail.jar file into VAJ.
> > Now,
> > I wrote my application in VAJ and tested it using the WebSphere test
> > environment and everything worked fine. Now, I exported the
> > application to
> > the actual WebSphere running on the production server and tried to
> > test the
> > application and I am getting the following error:
> > Problem sending mesage: javax.mail.NoSuchProviderException: No
> > provider for
> > Address type: rfc822
> >
> > According to the NOTES that came with the JavaMail API, the following is
> > mentioned:
> > Your problem: NoSuchProviderException - No such provider for RFC822.
> > Our response: You unjar'ed mail.jar. Don't.
> >
> > I have definitely not unjar'ed mail.jar.
> > Any suggestions/ideas on whats going wrong?
> > Appreciate it.
> > Thanks,
> > J
> >
> > _________________________________________________________
> > DO YOU YAHOO!?
> > Get your free @yahoo.com address at http://mail.yahoo.com
> >
> > ___________________________________________________________________________
> > 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
>
> ___________________________________________________________________________
> 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
>
___________________________________________________________________________
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