Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JavaMail API error

 
Eduardo Ponce de Leon
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to send an email from java using the JavaMail API however i am getting an error...

Access restriction: The type FileDataSource is not accessible due to restriction on required library C:\Users\Eduardo\AppData\Local\Genuitec\Common\bin ary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\lib\r t.jar


the error comes from this line in my code...


this the code i have been trying to use from the internet

 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!