a problem about java mail client program
I have downloaded java mail client program class files forım the page at this link Java Tips - How to create an e-mail client in Java . And I downloaded Javamail api. I compiled the files and run the program with Netbeans. in the connection settings panel, I can not connect to the mail server. It is trying to connect and waiting so long. At last I'm getting the message "unable to connect". I've tried gmail, yahoo and other mails. And I cant find where the problem is, please help me.