*
The moose likes Java in General and the fly likes issue related javax.mail.AuthenticationFailedException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "issue related javax.mail.AuthenticationFailedException" Watch "issue related javax.mail.AuthenticationFailedException" New topic
Author

issue related javax.mail.AuthenticationFailedException

shashank dubey
Greenhorn

Joined: Jan 17, 2013
Posts: 1
hi,
I am facing particular type of issue.

I have implemented this method, for sending the mail from the mail server.
the code is working fine,when i hd jre6 in buildpath of the project.
But when i try to connect jre5 in the buildpath of the project and trid to execute the code,it is giving below mentioned error
Code:-




Error:-

javax.mail.AuthenticationFailedException
at org.sourceforge.net.javamail4ews.util.Util.getExchangeService(Unknown Source)
at org.sourceforge.net.javamail4ews.transport.EwsTransport.protocolConnect(Unknown Source)
at javax.mail.Service.connect(Service.java:295)
at javax.mail.Service.connect(Service.java:176)
at com.fpl.ecc.email.reader.EmailReader.sendEmail(EmailReader.java:180)
at com.fpl.ecc.email.reader.EmailReader.main(EmailReader.java:55)


kindly help me asap.
 
 
subject: issue related javax.mail.AuthenticationFailedException