Except my password I have given all the Details but unable to find out what is the Issue here , this program is unable to connect to Google Mail Server and read all my Emails.
I have also enabled POP3 in gmail settings.
I am always getting this Error, wonder what wrong I am doing.
That means you can't connect to the server and port which you specified. That could be because you made an error specifying those things, or because there is a network feature (proxy server, router, firewall) preventing the connection.
Rohit Kedia
Ranch Hand
Joined: Apr 24, 2010
Posts: 78
posted
0
Hi ,
I gave "pop.gmail.com" and when I login I give my userid as "arieskeds"
I also checked using ping pop.gmail.com it is pinging.
Is there anything else I need to check.
Rohit Kedia
Ranch Hand
Joined: Apr 24, 2010
Posts: 78
posted
0
Hi,
If anyone can help me out with this.
Thanks,
Ogeh Ikem
Ranch Hand
Joined: May 13, 2002
Posts: 180
posted
0
What is the content of your properties file.
Rohit Kedia
Ranch Hand
Joined: Apr 24, 2010
Posts: 78
posted
0
I am not setting any properties here, do I need to do that ?
I am sorry, I do not know much.
The link works on my system. The code also works on my system. What error message are you getting? Do you have the required jars. You need imap.jar and mailapi.jar
Alfred Ku
Greenhorn
Joined: Jul 30, 2010
Posts: 6
posted
0
It should be a network problem. Any proxy?
Regards, Alfred Ku
SCJP, SCWCD, SCBCD, SCEA, MCSE, MCSA, MCDBA, OCA