Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

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 !!!
0
deeppra
Asked:
deeppra
  • 6
  • 5
  • 2
  • +1
1 Solution
 
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
 
deeppraAuthor Commented:
why we can only access the pop server not any other

yahoo support what???
pop or smtp or imap
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
 
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
 
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.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 6
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now