This should be also posted in javamail mailing list. By the way:
1. Check all classes
2. Check GNUJSP (well are you using it ?) build-classpath
3. Check your sequence of codes:
protected Properties UserProperties = new Properties();
protected Session UserSession ;
protected Store UserStore = null;
UserProperties.put("mail.transport.protocol", "smtp");
UserProperties.put("mail.smtp.host", SMTPServer);
UserProperties.put("mail.store.protocol", ServerProtocol);
UserSession = Session.getDefaultInstance(UserProperties, null);
UserStore = UserSession.getStore(ServerProtocol);
UserStore.connect(MailServer, UserName, Password);
Steve
--
KBMail Software & Java Hosting Services Provider
Web site: http://kbmail.com | http://www.ebpcs.net
----- Original Message -----
From: meera nayak <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 07, 2000 12:39 PM
Subject: A liitle off topic-regarding javamail
> HI ,
> I am getting a store for the a particular protocol (IMAP) from the
> session using 'Store store=session.getStore(protocol);' line but when i
> execute the code i get an error message saying
> javax.mail.NoSuchProviderException:no provider for IMAP.
>
> If anybody has any clues do write back
>
> regards
> Meera
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html