jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "problem with sending email/jsp" Watch "problem with sending email/jsp" New topic

problem with sending email/jsp

aydeniz kirmizi
Ranch Hand

Joined: Aug 20, 2009
Posts: 40

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

Joined: Jan 10, 2002
Posts: 63355

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: 40
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: problem with sending email/jsp
jQuery in Action, 3rd edition