aspose file tools
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
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply 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: 129

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: 347

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.


Job Offer: Online working Java technical writing
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12929
    
    3

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: 19216

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
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Need the steps for inserting Java mail API
 
Similar Threads
Commons email
how to implement sending mail?
Java Mail API & JSP
sending mails using org.springframework.mail
Including hyperlink in java mail