This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail problem  RSS feed

 
Sam Peter
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
put the jar files in the lib directory which will be automatically added to the classpath
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!