This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Other Open Source Projects and the fly likes problem with sending email/jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "problem with sending email/jsp" Watch "problem with sending email/jsp" New topic
Author

problem with sending email/jsp

aydeniz kirmizi
Ranch Hand

Joined: Aug 20, 2009
Posts: 39
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

Joined: Jan 10, 2002
Posts: 62123
    
  68

Please do not use all uppercase when posting. I have adjusted your very loud topic title for you. Please read this for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
aydeniz kirmizi
Ranch Hand

Joined: Aug 20, 2009
Posts: 39
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.
 
Don't get me started about those stupid light bulbs.
 
subject: problem with sending email/jsp