File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: issue related javax.mail.AuthenticationFailedException
 
Similar Threads
Need some help me java mail-smtp
Unable to send mail through mail api
Mail Sending Issue...
connecting to gmail pop3 server
Problem using Java Mail API