We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Hard time with javamail API and Gmail
Page Index Toggle Pages: 1
Hard time with javamail API and Gmail (Read 847 times)
Hard time with javamail API and Gmail
May 14th, 2010, 7:54am
 
Hello all,

I'm very new to processing but have a background on programming other stuff.

I'm trying to use the javamail API to connect to gmail and retrieve message count for my account using IMAP. But whatever Store method I try (pop3, imap, pop3s, imaps) I get the same exception: NoSuchProviderException on the store instantiation line:

 Store store = session.getStore("pop3");

I know I'm missing something really simple here, like linking the library, for instance. I downloaded the javamail library and put it into the libraries folder of Processing.

What am I doing wrong?
Page Index Toggle Pages: 1