• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need the steps for inserting Java mail API

 
Ishan Pandya
Ranch Hand
Posts: 226
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do we add mail API in jdk6? i have downloaded the javamail1_4_5.zip but don't know how to proceed with it. Can anyone please help me out with steps of adding mail API..
 
Nam Ha Minh
Ranch Hand
Posts: 502
Eclipse IDE Firefox Browser Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ishan Pandya wrote:How do we add mail API in jdk6? i have downloaded the javamail1_4_5.zip but don't know how to proceed with it. Can anyone please help me out with steps of adding mail API..

I would be pretty easy:
- extract the zip file.
- find javamail-xxx.jar file.
- add the jar file to your project's classpath.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15216
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note this information on the JavaMail page: Besides the JavaMail JAR, you'll also need to include the JAR file for the JavaBeans Activation Framework.
 
Rob Spoor
Sheriff
Pie
Posts: 20512
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only if you're using Java 5.0 or before. Since Java 6 javax.activation is included in the JRE.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic