This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Need the steps for inserting Java mail API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Need the steps for inserting Java mail API" Watch "Need the steps for inserting Java mail API" New topic
Author

Need the steps for inserting Java mail API

Ishan Pandya
Ranch Hand

Joined: Feb 06, 2012
Posts: 213

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..


OCPJP
Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 484

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.


PM Me If You Want to get Urgent Help on Java Programming
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 13875
    
  10

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.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19543
    
  16

Only if you're using Java 5.0 or before. Since Java 6 javax.activation is included in the JRE.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need the steps for inserting Java mail API
 
Similar Threads
sending mails using org.springframework.mail
Including hyperlink in java mail
Java Mail API & JSP
how to implement sending mail?
Commons email