Exception when i check the mail

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 !!!
LVL 5
deeppraAsked:
Who is Participating?
 
CEHJCommented:
>>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
 
CEHJCommented:
Can you show the stack trace please? Are those valid credentials and is the host a POP server?
0
 
deeppraAuthor Commented:
what u mean??
is a Hot a pop server??
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
deeppraAuthor Commented:
why we can only access the pop server not any other

yahoo support what???
pop or smtp or imap
0
 
CEHJCommented:
pop.mail.yahoo.com is the POP address AFAIK
0
 
deeppraAuthor Commented:

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

thrown exception:
javax.mail.AuthenticationFailedException: Error logging in. Please visit http://mail.yahoo.com
0
 
CEHJCommented:
Are you setting the authentication properly?
0
 
deeppraAuthor Commented:
i am sending the password with the
connect(host,username,password)
method in the javamailAPI
0
 
CEHJCommented:
Apart from the obvious checking you have the credentials right, try going into debug mode
0
 
armoghanCommented:
Yahoo has stopped giving Pop or SMTP access for free so now Pop.mail.yahoo.com will not work
0
 
deeppraAuthor Commented:
Then how to check mail and send mail using which protocol ??

0
 
girionisCommented:
0
 
armoghanCommented:
With free registration it doesnot give POP3, with mailplus it does
http://mailplus.mail.yahoo.com/
0
 
CEHJCommented:
8-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.