• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem with sending email/jsp

 
aydeniz kirmizi
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello;

I am trying to send email in my application. For that I need mail.jar and activation.jar. I downloaded both of the jar files and I put them
in my jre/lib.ext library.. But whenever I try to compile my application it says :

package javax.mail does not exist for this line and all the following lines.



I tried to put the same jar files in the directory of jboss-4.2.3.GA\server\default\lib , but still does not work.. Do I need to plug-In anything in Netbeans or do I need to do any extra thing? I searched on the internet and tried everything but did not work..

Any advice please?

Many thanks..

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64832
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please do not use all uppercase when posting. I have adjusted your very loud topic title for you. Please read this for more information.
 
aydeniz kirmizi
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have just solved this problem. I needed to add the jar files within NetBeans. Right click on the Project, Properties, Library, add jar file.
This solved my problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic