Hi,
I am trying to download my gmail using JavaMail .I have pop enabled on gmail account.
for "abc@gmail.com", and also tried various permutations of "pop" and "pop3" and "imap"
I use these settings in my Mozilla Thunderbird client
String popServer="pop.gmail.com";
String popUser="abc";
String popPassword="xxxx";
Properties props = System.getProperties();
Session session = Session.getDefaultInstance(props, null);
store = session.getStore("pop3");
store.connect(popServer, popUser, popPassword);
i get
=========================================
nested exception is:
java.net.SocketException: Connection reset
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:148)
at javax.mail.Service.connect(Service.java:275)
thanks
Brian