This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes JavaMail API error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JavaMail API error" Watch "JavaMail API error" New topic
Author

JavaMail API error

Eduardo Ponce de Leon
Ranch Hand

Joined: May 13, 2009
Posts: 99
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

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaMail API error
 
Similar Threads
problems adding attachements to Javamail with Outlook
My Application is not sending mail to external servers
How to send mail to more than one recipients
How to send java mail with big file attached
Email: java.lang.ClassFormatError