Article View: borland.public.jbuilder.java.api
Article #1424javax.mail exception
From: noboy2002
Date: Mon, 14 Jan 2002 18:12
Date: Mon, 14 Jan 2002 18:12
28 lines
1663 bytes
1663 bytes
Hi friends, this code has always work, but today, i got this error.
I've debugged the output, and the user and password were correct, and got
POP3Store.java source code watched, and the portion of code that throws
exception is
{
port= getPort();
}
javax.mail.AuthenticationFailedException: The specified module could not be
found.
at com.sun.mail.pop3.POP3Store.protocolConnect(POP3Store.java:104)
at javax.mail.Service.connect(Service.java:234)
at javax.mail.Service.connect(Service.java:135)
at MailServlet.doPost(MailServlet.java:46)
//************* CODE
try
{
store = sesion.getStore("pop3");
store.connect(host,user,password); <-- launch exception
_folder = store.getFolder("INBOX");
_folder.open(Folder.READ_ONLY);
//***************** CODE
Please, help me.
Technical Details
Message-ID:
<a1v6ip$ftk$2@diana.bcn.ttd.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,4c388e2678b5e9f,start X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2002-01-14 10:12:14 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.cwix.com!newsfeed.bcn.ttd.net!news.bcn.ttd.net!not-for-mail From: "noboy2002" <loveyou@soon.com> Newsgroups: borland.public.jbuilder.java.api Subject: javax.mail exception Date: Mon, 14 Jan 2002 19:12:04 +0100 Organization: Telefonica Transmision de Datos Lines: 30 Message-ID: <a1v6ip$ftk$2@diana.bcn.ttd.net> NNTP-Posting-Host: 217-127-197-79.uc.nombres.ttd.es X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000