I have a problem with code. It's supposed to be an email client with options to read messages and send them. The problem is that inbox not show it. I assume that the problems in the code. I use xampp for server, and i've tried use thunderbird for testing, but server is good. Yeah, that's success but in my coding java that's not success.
Once i run the application for i've chosen pop3 follow by email, password, smtp server, smtp server port
And then click login,it gave me this error...
javax.mail.AuthenticationFailedException: Username or password is invalid or incorrect.
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:213)
at javax.mail.Service.connect(Service.java:366)
at javax.mail.Service.connect(Service.java:246)
at emailclientgamal.EmailClientGamal.referhEmail(EmailClientGamal.java:462)
at emailclientgamal.EmailClientGamal.connect(EmailClientGamal.java:449)
at emailclientgamal.EmailClientGamal.main(EmailClientGamal.java:551)