aspose file tools
The moose likes JSP and the fly likes Java Mail problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Java Mail problem" Watch "Java Mail problem" New topic
Author

Java Mail problem

Sam Peter
Greenhorn

Joined: Dec 20, 2005
Posts: 2
Hi all
I an application, I have implemented Java Mail functionality also. mail.jar and activation.jar are the jars downloaded and used. The mailing functionality works fine with Windox XP. But in Windows 2000, it doesn't work. It doesn't throw any exception also.

Anyone faced similar problem or can anyone suggest the reason for this.?
Any other jar to be used apart from the above two?
thx
SP
Gaurav Chhabras
Ranch Hand

Joined: Sep 21, 2005
Posts: 126
no, these 2 files are ok, but please take care that , the folder in which you put the mail.jar and activation.jar should come in classpath.

And it would be better if you tell the Error , what it is giving.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

SP PA,

There are only two rules here at Javaranch.
The first is to be nice and the second is to use a real name.

Please change your screen name to adhere to our naming policy.
You can change it here

Thank you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Sam, thank you for fixing your screen name.

Are you using this mailer in a JSP app?
If so what container are you using?
Where are you putting the jar files?
Sam Peter
Greenhorn

Joined: Dec 20, 2005
Posts: 2
Originally posted by Ben Souther:
Sam, thank you for fixing your screen name.

Are you using this mailer in a JSP app?
If so what container are you using?
Where are you putting the jar files?


Yes I'm using this in a JSP application with Tomact and JRun.
The mail doesn't go when I run the application in a Windows 2000 m/c .
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12267
    
    1
1. are you SURE that every exception will be logged?
2. is the Win 2000 machine in the same network as the XP system that works?
Bill
Sree Kumari
Ranch Hand

Joined: Aug 16, 2005
Posts: 47
put the jar files in the lib directory which will be automatically added to the classpath
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Mail problem
 
Similar Threads
Sending Email from Java
how to get status mail using javamail.
How to launch graphical editing framework in eclipse
Image is not updating properly
Fax Application using Java