Hi we are trying to connect a mail host with valid user name and password by using
store.connect(host,user,password); // store is an object of javax.mail.Store class.
from our linux server, but we are facing a below exception.
error while reading messagesjavax.mail.AuthenticationFailedException: maildrop already locked
javax.mail.AuthenticationFailedException: maildrop already locked
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:207)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at rtnsmonitoring.Mailbox.<init>(Mailbox.java:33)
at rtnsmonitoring.Mailbox.getMailboxes(Mailbox.java:49)
at rtnsmonitoring.Main.run(Main.java:31)
please help me how to solve it.
note: with provided credentials im able to login to the mail from from UI. and im also able to send email using telnet, mail is delivering to recipient successfully.