Wrox Programmer Forums
|
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2008, 04:17 PM
Authorized User
 
Join Date: Jul 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ironchef
Default Sending email

Im trying to send email using java. Ive already looked at the other posts concerning this topics and when i try out that code it says that there is no javax.mail class. I'd really apreciate some help on this!

Thanks!


IronChef - http://www.freewebs.com/cool_recipes
__________________
<b>IronChef</b> - http://www.freewebs.com/cool_recipes
 
Old February 10th, 2008, 11:25 PM
jomet
Guest
 
Posts: n/a
Default

Hi,

you have to include mail.jar in the class path

Cheers,

jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
 
Old February 16th, 2008, 01:23 PM
Authorized User
 
Join Date: Jul 2006
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ironchef
Default

Im confused, do u think u could give me the code to enter directly into the command line.

IronChef - http://www.freewebs.com/cool_recipes
 
Old February 17th, 2008, 11:38 PM
jomet
Guest
 
Posts: n/a
Default

Hi,

Your bin directory in j2ee(or your server) will contain mail.jar file
include path to that file in your class path.

for including it go
rt. click at MyComputer -> properties -> advanced tab
-> click environment variable button
in user variabe click new. or edit if 'CLASSPATH' already exist
if new
then
variable name => CLASSPATH
value => path to the file

if edit then
add ; to the end and append the path
i think this will help u.


Cheers,

jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending EMAIL charleshua BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 16 September 3rd, 2008 12:27 AM
Sending email maitias C# 2005 2 February 17th, 2006 11:24 AM
sending email keyvanjan Classic ASP Components 1 May 9th, 2005 05:56 PM
email sending msrnivas .NET Web Services 6 June 26th, 2004 06:59 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.