shashank dubey

Greenhorn
+ Follow
since Jan 17, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by shashank dubey

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.
11 years ago