Solved

Exception when i check the mail

Posted on 2004-08-30
14
177 Views
Last Modified: 2010-03-31
Hi,
         i am developing an application used to send and receive mail from any account
i have used the javamailAPI for sending and receiving mails.
i am having a mail account in www.flashmail.com 
username : deeppra
when i used the provider as pop3 and i can access the account
but when changed the username and password and host address to
username : pradeep_genius_in
host : mail.yahoo.com
and when i run my application throws Exception
why this exception is thrown and there is error when i check for the mail.flashmail.com account

help me !!!
0
Comment
Question by:deeppra
  • 6
  • 5
  • 2
  • +1
14 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 11934443
Can you show the stack trace please? Are those valid credentials and is the host a POP server?
0
 
LVL 5

Author Comment

by:deeppra
ID: 11934517
what u mean??
is a Hot a pop server??
0
 
LVL 5

Author Comment

by:deeppra
ID: 11934603
why we can only access the pop server not any other

yahoo support what???
pop or smtp or imap
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11934617
pop.mail.yahoo.com is the POP address AFAIK
0
 
LVL 5

Author Comment

by:deeppra
ID: 11934657

username : pradeep_genius_in
host : pop.mail.yahoo.com

thrown exception:
javax.mail.AuthenticationFailedException: Error logging in. Please visit http://mail.yahoo.com
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11934716
Are you setting the authentication properly?
0
 
LVL 5

Author Comment

by:deeppra
ID: 11934761
i am sending the password with the
connect(host,username,password)
method in the javamailAPI
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 86

Expert Comment

by:CEHJ
ID: 11935481
Apart from the obvious checking you have the credentials right, try going into debug mode
0
 
LVL 18

Expert Comment

by:armoghan
ID: 11938553
Yahoo has stopped giving Pop or SMTP access for free so now Pop.mail.yahoo.com will not work
0
 
LVL 5

Author Comment

by:deeppra
ID: 11939567
Then how to check mail and send mail using which protocol ??

0
 
LVL 35

Expert Comment

by:girionis
ID: 11940307
0
 
LVL 86

Accepted Solution

by:
CEHJ earned 50 total points
ID: 11940444
>>Yahoo has stopped giving Pop

It's certainly looking OK to me for POP, although i can't authenticate as i've no account
0
 
LVL 18

Expert Comment

by:armoghan
ID: 11940665
With free registration it doesnot give POP3, with mailplus it does
http://mailplus.mail.yahoo.com/
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 11979728
8-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
groupSum5 challenge 5 68
DO we need Java installed on a Windows PC and WHY ? 13 95
servlet doXXX methods 3 34
Arrays.asList  VS  ArrayList 4 44
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This video teaches viewers about errors in exception handling.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now