Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

issue related javax.mail.AuthenticationFailedException

 
shashank dubey
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic