wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "issue related javax.mail.AuthenticationFailedException" Watch "issue related javax.mail.AuthenticationFailedException" New topic

issue related javax.mail.AuthenticationFailedException

shashank dubey

Joined: Jan 17, 2013
Posts: 1
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


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.
Consider Paul's rocket mass heater.
subject: issue related javax.mail.AuthenticationFailedException
Similar Threads
Need some help me java mail-smtp
Mail Sending Issue...
connecting to gmail pop3 server
Unable to send mail through mail api
Problem using Java Mail API